We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5bf4918 + d4fc388 commit c9186dbCopy full SHA for c9186db
2 files changed
lib/graphql_devise/types/mutation_type.rb
@@ -4,6 +4,7 @@ module GraphqlDevise
4
module Types
5
class MutationType < GraphQL::Schema::Object
6
field_class GraphqlDevise::Types::BaseField if Gem::Version.new(GraphQL::VERSION) >= Gem::Version.new('2.0')
7
+ has_no_fields(true) if respond_to?(:has_no_fields)
8
end
9
10
lib/graphql_devise/types/query_type.rb
class QueryType < GraphQL::Schema::Object
0 commit comments