Addressed comments from review and fixed bug with schema props

props did not have context, therefore they had no idea where they were or where to resolve from.

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-11-02 10:28:29 -04:00
parent 80b2b2d0b5
commit 8bbb022daa
6 changed files with 43 additions and 35 deletions

View File

@@ -30,3 +30,7 @@ func TestUnwrapErrors(t *testing.T) {
func TestUnwrapErrors_Empty(t *testing.T) {
assert.Len(t, UnwrapErrors(nil), 0)
}
func TestUnwrapErrors_SingleError(t *testing.T) {
assert.Len(t, UnwrapErrors(errors.New("single error")), 1)
}