Skip to content

Commit

Permalink
Merge pull request #4559 from Kaytal/patch-2
Browse files Browse the repository at this point in the history
Update extensions.md
  • Loading branch information
rmosolgo committed Jul 17, 2023
2 parents e8a8fc0 + 70d3636 commit f05ea56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/type_definitions/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ Enum values may be customized in a similar way to Fields.
- Create a new class extending `GraphQL::Schema::EnumValue`
- Assign it to your base `Enum` class with `enum_value_class(MyEnumValueClass)`

Then, in your custom argument class, you can use `#initialize(name, desc = nil, **kwargs)` to take input from the DSL.
Then, in your custom enum class, you can use `#initialize(name, desc = nil, **kwargs)` to take input from the DSL.

0 comments on commit f05ea56

Please sign in to comment.