Sha256: 0bb325f787410a8e880b17c8a2ed66d6b6da9ff1cb52637a54ce453cade8db94
Contents?: true
Size: 296 Bytes
Versions: 32
Compression:
Stored size: 296 Bytes
Contents
# frozen_string_literal: true module GraphQL module Introspection TypenameField = GraphQL::Field.define do name "__typename" description "The name of this type" type -> { !GraphQL::STRING_TYPE } resolve ->(obj, a, ctx) { ctx.irep_node.owner_type } end end end
Version data entries
32 entries across 32 versions & 1 rubygems