• Eric Myhre's avatar
    Finish ErrWrongKind; add typed.Node.Representation · ecad4261
    Eric Myhre authored
    typed.Node.Representation(), which returns another Node, should address
    most of the infelicies we've found so far in trying to plan nice code
    that works over the schema layer.
    
    Also added in this comment: ipld.ReprKindSet, primarily for use in the
    ErrWrongKind error.  It comes up often enough we might as well formalize
    the thing.
    ecad4261
kind.go 2.19 KB