Sha256: f41223adc55cf33584d885f9301a31947bd4bb7b5f06cdf183183503b2f7f90d
Contents?: true
Size: 446 Bytes
Versions: 71
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true module GraphQL module Types module Relay class BaseField < GraphQL::Schema::Field def initialize(edge_class: nil, **rest, &block) @edge_class = edge_class super(**rest, &block) end def to_graphql field = super if @edge_class field.edge_class = @edge_class end field end end end end end
Version data entries
71 entries across 71 versions & 1 rubygems