Skip to content

Commit

Permalink
fix missing unmarshal for FunctionRef.SelectionSet (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgarmon authored Aug 6, 2021
1 parent 82fb728 commit 6b2d907
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (f *FunctionRef) UnmarshalJSON(data []byte) error {
if _, found := funcRef["arguments"]; found {
f.Arguments = funcRef["arguments"].(map[string]interface{})
}
f.SelectionSet = requiresNotNilOrEmpty(funcRef["selectionSet"])

return nil
}

0 comments on commit 6b2d907

Please sign in to comment.