Skip to content

Commit 6b2d907

Browse files
authored
fix missing unmarshal for FunctionRef.SelectionSet (#39)
1 parent 82fb728 commit 6b2d907

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model/function.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ func (f *FunctionRef) UnmarshalJSON(data []byte) error {
6666
if _, found := funcRef["arguments"]; found {
6767
f.Arguments = funcRef["arguments"].(map[string]interface{})
6868
}
69+
f.SelectionSet = requiresNotNilOrEmpty(funcRef["selectionSet"])
6970

7071
return nil
7172
}

0 commit comments

Comments
 (0)