Sha256: b6db9eb802d241c48a4b5f7ed6fdaf15c0fc3c30c6b427bc3dee413486a25f45

Contents?: true

Size: 527 Bytes

Versions: 3

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true

module GraphQL::Stitching
  class Supergraph
    class ResolverDirective < GraphQL::Schema::Directive
      graphql_name "resolver"
      locations OBJECT, INTERFACE, UNION
      argument :location, String, required: true
      argument :key, String, required: true
      argument :field, String, required: true
      argument :arg, String, required: true
      argument :list, Boolean, required: false
      argument :federation, Boolean, required: false
      repeatable true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
graphql-stitching-1.2.3 lib/graphql/stitching/supergraph/resolver_directive.rb
graphql-stitching-1.2.2 lib/graphql/stitching/supergraph/resolver_directive.rb
graphql-stitching-1.2.1 lib/graphql/stitching/supergraph/resolver_directive.rb