Skip to content

Commit 66620d3

Browse files
committed
docs: fix example given for GraphQL::Schema::Enum
The example inherited from `GraphQL::Enum` - a constant that doesn't exist. Update the example to inherit from `GraphQL::Schema::Enum` instead.
1 parent 899ecb3 commit 66620d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/schema/enum.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Schema
1414
# # ONIONS
1515
# # PEPPERS
1616
# # }
17-
# class PizzaTopping < GraphQL::Enum
17+
# class PizzaTopping < GraphQL::Schema::Enum
1818
# value :MUSHROOMS
1919
# value :ONIONS
2020
# value :PEPPERS

0 commit comments

Comments
 (0)