Skip to content

Commit

Permalink
added example for Error field
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Sep 1, 2020
1 parent efd392a commit 7a28f2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ func (p *Parser) addOutputFields() error {
JSType: "string",
},
Metadata: map[string]interface{}{},
Example: "something went wrong",
}
for typeName := range p.outputObjects {
obj, err := p.def.Object(typeName)
Expand Down

0 comments on commit 7a28f2f

Please sign in to comment.