We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d41ec4 + c6a0d90 commit 70c01bfCopy full SHA for 70c01bf
lib/graphql/schema/member/base_dsl_methods.rb
@@ -102,7 +102,8 @@ def mutation(mutation_class = nil)
102
def default_graphql_name
103
@default_graphql_name ||= begin
104
raise GraphQL::RequiredImplementationMissingError, 'Anonymous class should declare a `graphql_name`' if name.nil?
105
- -name.split("::").last.sub(/Type\Z/, "") end
+ -name.split("::").last.sub(/Type\Z/, "")
106
+ end
107
end
108
109
def visible?(context)
0 commit comments