graphql-devise / graphql_devise

GraphQL interface on top devise_token_auth
MIT License
197 stars 36 forks source link

Add support for GraphQL 2.0 #229

Closed mcelicalderon closed 1 year ago

mcelicalderon commented 1 year ago

Adds support for graphql 2.0.

Defining

field_class GraphqlDevise::Types::BaseField

In your MutationType and QueryType should be enough. If you already define a custom field class, you can include our concern FieldAuthentication