Full model is now in place,

Time to revisit each model and build individual tests to ensure all error handling is in place across the model.

Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
Dave Shanley
2022-08-10 12:18:13 -04:00
parent 3a41d86ee1
commit 717b7d4610
14 changed files with 302 additions and 133 deletions

View File

@@ -27,12 +27,6 @@ type ValueReference[T any] struct {
ValueNode *yaml.Node
}
type ObjectReference struct {
Value interface{}
ValueNode *yaml.Node
KeyNode *yaml.Node
}
func (n NodeReference[T]) IsEmpty() bool {
return n.KeyNode == nil && n.ValueNode == nil
}