Skip to content

Commit

Permalink
Merge pull request #561 from CxdInitial/patch-1
Browse files Browse the repository at this point in the history
fix: error detection
  • Loading branch information
chris-ramon committed Aug 17, 2020
2 parents 33f0862 + 30eae24 commit d6b7434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ func (gt *InputObject) defineFieldMap() InputObjectFieldMap {
if gt.err = invariantf(
fieldConfig.Type != nil,
`%v.%v field type must be Input Type but got: %v.`, gt, fieldName, fieldConfig.Type,
); err != nil {
); gt.err != nil {
return resultFieldMap
}
field := &InputObjectField{}
Expand Down

0 comments on commit d6b7434

Please sign in to comment.