Begin schema validation method.
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: Eric Myhre <hash@exultant.us>
Showing
typed/errors.go
0 → 100644
typed/node_test.go
0 → 100644
Please register or sign in to comment