Sha256: aa9cbcb20fcd5fd5fb1481aba19916b6d0391ed9772e090f1e12b0578008ec98

Contents?: true

Size: 356 Bytes

Versions: 7

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module GraphQL
  module Groups
    module Schema
      class GroupField < GraphQL::Schema::Field
        attr_reader :query_method

        def initialize(query_method:, **options, &definition_block)
          @query_method = query_method
          super(**options, &definition_block)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
graphql-groups-0.2.3 lib/graphql/groups/schema/group_field.rb
graphql-groups-0.2.2 lib/graphql/groups/schema/group_field.rb
graphql-groups-0.2.1 lib/graphql/groups/schema/group_field.rb
graphql-groups-0.2.0 lib/graphql/groups/schema/group_field.rb
graphql-groups-0.1.4 lib/graphql/groups/schema/group_field.rb
graphql-groups-0.1.3 lib/graphql/groups/schema/group_field.rb
graphql-groups-0.1.1 lib/graphql/groups/schema/group_field.rb