• Eric Myhre's avatar
    Begin schema validation method. · b66f9261
    Eric Myhre authored
    This will be for the active path -- if we also follow through on the
    idea of having a just-in-time checked Node wrapper, a lot of these
    checks might end up duplicated.  We'll DRY that up when we get there.
    
    Doing accumulation of errors.  Might get loud.  We can come back and
    and early-halt parameters or other accumulation strategies later.
    
    Added IsNull predicate to core Node interface.
    
    Going to want enumerated error categories here for sure, but punting
    on that until we get more examples of what all the errors *are*; then
    I'll come back and tear all this 'fmt.Errorf' nonsense back out.
    Signed-off-by: default avatarEric Myhre <hash@exultant.us>
    b66f9261
node.go 1.99 KB