Skip to content

Commit

Permalink
fix missing error
Browse files Browse the repository at this point in the history
  • Loading branch information
neelance committed Oct 26, 2016
1 parent de9b7fe commit 1faf666
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ func resolveTypeName(s *Schema, t common.Type) (common.Type, *errors.GraphQLErro
}
return refT, nil
}
resolveType(s, t)
if err := resolveType(s, t); err != nil {
return nil, err
}
return t, nil
}

Expand Down

0 comments on commit 1faf666

Please sign in to comment.