Skip to content

Commit ebd569f

Browse files
authored
Merge pull request #220 from alexzielenski/fieldannotation
add field-level element relationship which overrides referred type
2 parents 5e8be97 + c779eba commit ebd569f

15 files changed

+21691
-43
lines changed

internal/fixture/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ func (cs ChangeParser) run(state *State) error {
477477
// Swap the schema in for use with the live object so it merges.
478478
// If the schema is incompatible, this will fail validation.
479479

480-
liveWithNewSchema, err := typed.AsTyped(state.Live.AsValue(), &cs.Parser.Schema, state.Live.TypeRef())
480+
liveWithNewSchema, err := typed.AsTyped(state.Live.AsValue(), cs.Parser.Schema, state.Live.TypeRef())
481481
if err != nil {
482482
return err
483483
}

0 commit comments

Comments
 (0)