Sha256: b42b7121cdccb42bf079b19c6703a4171eac9f3bcbb0dc29e795d4cc917be9e0
Contents?: true
Size: 573 Bytes
Versions: 13
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true module GraphQL module Stitching # Defines a boundary query that provides direct access to an entity type. Boundary = Struct.new( :location, :type_name, :key, :field, :arg, :list, :federation, keyword_init: true ) do def as_json { location: location, type_name: type_name, key: key, field: field, arg: arg, list: list, federation: federation, }.tap(&:compact!) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems