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