Sha256: 622432d98b6a958c3f6b8e7db612135c71bc6053af9e2876ac8498249e98be0c

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

require 'graphql'

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

        alias group object

        def initialize(object, context)
          super(object, context)
        end

        field_class(GroupField)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
graphql-groups-0.1.1 lib/graphql/groups/schema/group_type.rb