diff --git a/internal/schema/schema.go b/internal/schema/schema.go index 45478da10aa..2b0d8fa34ec 100644 --- a/internal/schema/schema.go +++ b/internal/schema/schema.go @@ -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 }