• Eric Myhre's avatar
    Comments about future needs on nodebuilder. · 11bf0d4e
    Eric Myhre authored
    In thinking about how to make a 'bind' (aka, reflect and atlases) Node
    implementation, some interesting stuff comes up: despite being all
    one concrete Node implementation, it needs specialization (for the
    reflect.Value bound inside, specifically); and 'bind' nodes don't
    *necessarily* have a schema and a typed.Node associated with them,
    so the existing comments about specializing using Type info don't
    actually apply.  So!  What do?
    
    These comments are a tad hypothetical (and have been on my uncommitted
    working tree for a while, so hopefully they're not *too* stale; I just
    want to get them in history somewhere rather than keep dancing my
    patches around them)... but there's almost certainly something to
    address somewhere in this area.
    11bf0d4e
unmarshal.go 4.06 KB