Sha256: b974654617074feaff44c27683baf293a46912581c96cb9ee28560fbc4f4bb7f

Contents?: true

Size: 371 Bytes

Versions: 3

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

require 'graphql'

module GraphQL
  module Groups
    module Schema
      class GroupType < GraphQL::Schema::Object
        include HasGroups

        alias group object

        # TODO: Make group field inherit from default field, so that users default args/fields are respected
        field_class(GroupField)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
graphql-groups-0.1.4 lib/graphql/groups/schema/group_type.rb
graphql-groups-0.1.3 lib/graphql/groups/schema/group_type.rb
graphql-groups-0.1.2 lib/graphql/groups/schema/group_type.rb