Skip to content

Commit 7a28f2f

Browse files
committedSep 1, 2020
added example for Error field
1 parent efd392a commit 7a28f2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎parser/parser.go

+1
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ func (p *Parser) addOutputFields() error {
411411
JSType: "string",
412412
},
413413
Metadata: map[string]interface{}{},
414+
Example: "something went wrong",
414415
}
415416
for typeName := range p.outputObjects {
416417
obj, err := p.def.Object(typeName)

0 commit comments

Comments
 (0)
Please sign in to comment.