Skip to content

Commit

Permalink
Fix for frozen names
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Feb 2, 2023
1 parent 0b8f4f6 commit 5c25479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graphql/schema/directive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def path
# but downcase the first letter.
def default_graphql_name
@default_graphql_name ||= begin
camelized_name = super
camelized_name = super.dup
camelized_name[0] = camelized_name[0].downcase
camelized_name
end
Expand Down

0 comments on commit 5c25479

Please sign in to comment.