Sha256: 2922c74f1b96214889572675c1e5591aeb1c65ca37d3508fe189395d1162c4fc
Contents?: true
Size: 434 Bytes
Versions: 7
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module Types class MutationType < BaseObject field_class GraphqlDevise::Types::BaseField if Gem::Version.new(GraphQL::VERSION) >= Gem::Version.new('2.0') field :dummy_mutation, String, null: false, authenticate: true field :update_user, mutation: Mutations::UpdateUser def dummy_mutation 'Necessary so GraphQL gem does not complain about empty mutation type' end end end
Version data entries
7 entries across 7 versions & 1 rubygems