Sha256: 1ee8e26acb0ef5493d8bce64f44a80f1d476cb147ebfc983496fe6bcf5d4931c

Contents?: true

Size: 273 Bytes

Versions: 13

Compression:

Stored size: 273 Bytes

Contents

module NulogyGraphqlApi
  module Schema
    class BaseMutation < GraphQL::Schema::Mutation
      def self.visible?(context)
        return true if context[:schema_generation_context?]
        return super && yield if block_given?

        super
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
nulogy_graphql_api-3.0.1 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-2.2.0 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-2.1.3 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-2.1.2 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-2.1.1 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-2.1.0 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-2.0.1 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-2.0.0 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-1.1.1 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-1.1.0 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-1.0.0 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-0.6.0 lib/nulogy_graphql_api/schema/base_mutation.rb
nulogy_graphql_api-0.5.3 lib/nulogy_graphql_api/schema/base_mutation.rb