You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While following this guide verbatim, I ran into the following error:
```
GraphQL::Field was passed as the second argument, use the `field:` keyword for this instead.
/Users/Patrick/.gem/ruby/2.5.1/gems/graphql-1.8.6/lib/graphql/schema/field.rb:61:in `from_options'
/Users/Patrick/.gem/ruby/2.5.1/gems/graphql-1.8.6/lib/graphql/schema/member/has_fields.rb:52:in `field'
...
```
I don't know when the docs got out of date, but it turns out that a `field: ` keyword is required before the argument, as of at latest 1.8.6.
0 commit comments