Skip to content

Commit df76049

Browse files
authored
Merge pull request #5481 from Shopify/ravangen.invalid-empty-selection-on-union-type-typo
Fix typo in `legacy_invalid_empty_selections_on_union_with_type` docstring
2 parents fecbbc5 + 9833444 commit df76049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ def legacy_invalid_empty_selections_on_union(query)
17471747
# and notify them about changing their queries. Then return a suitable value to
17481748
# tell GraphQL-Ruby how to continue.
17491749
# @param query [GraphQL::Query]
1750-
# @param type1 [Module] A GraphQL type definition
1750+
# @param type [Module] A GraphQL type definition
17511751
# @return [:return_validation_error] Let GraphQL-Ruby return the (new) normal validation error for this query
17521752
# @return [String] A validation error to return for this query
17531753
# @return [nil] Don't send the client an error, continue the legacy behavior (allow this query to execute)

0 commit comments

Comments
 (0)