Skip to content

Commit

Permalink
Merge pull request rmosolgo#3204 from bswinnerton/patch-1
Browse files Browse the repository at this point in the history
Update method signature example in extension docs
  • Loading branch information
Robert Mosolgo authored Oct 26, 2020
2 parents bb11c05 + 985d1e0 commit 2e35e5c
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 @@ -68,7 +68,7 @@ Fields are generated in a different way. Instead of using classes, they are gene
field :name, String, null: false
# ...
# Leads to:
field_config = GraphQL::Schema::Field.new(:name, String, null: false)
field_config = GraphQL::Schema::Field.new(name: :name, type: String, null: false)
```

So, you can customize this process by:
Expand Down

0 comments on commit 2e35e5c

Please sign in to comment.