Sha256: 2944b9a6947b4fe54bc3d9e73e28d570cbbac4d8151ba71bf809f340102f28ad
Contents?: true
Size: 229 Bytes
Versions: 40
Compression:
Stored size: 229 Bytes
Contents
# frozen_string_literal: true GraphQL::Introspection::OfTypeField = GraphQL::Field.define do name "ofType" type -> { GraphQL::Introspection::TypeType } resolve ->(obj, args, ctx) { obj.kind.wraps? ? obj.of_type : nil } end
Version data entries
40 entries across 40 versions & 1 rubygems