diff --git a/lib/graphql/schema.rb b/lib/graphql/schema.rb index 3871b77333..2011ab168c 100644 --- a/lib/graphql/schema.rb +++ b/lib/graphql/schema.rb @@ -1747,7 +1747,7 @@ def legacy_invalid_empty_selections_on_union(query) # and notify them about changing their queries. Then return a suitable value to # tell GraphQL-Ruby how to continue. # @param query [GraphQL::Query] - # @param type1 [Module] A GraphQL type definition + # @param type [Module] A GraphQL type definition # @return [:return_validation_error] Let GraphQL-Ruby return the (new) normal validation error for this query # @return [String] A validation error to return for this query # @return [nil] Don't send the client an error, continue the legacy behavior (allow this query to execute)