Sha256: 75096905156e28858bb1f529e6a7cc23f23b6cfd75f1050c83e50cfe89584e2d
Contents?: true
Size: 303 Bytes
Versions: 40
Compression:
Stored size: 303 Bytes
Contents
# frozen_string_literal: true GraphQL::Introspection::InterfacesField = GraphQL::Field.define do type -> { types[!GraphQL::Introspection::TypeType] } resolve ->(target, a, ctx) { if target.kind == GraphQL::TypeKinds::OBJECT ctx.warden.interfaces(target) else nil end } end
Version data entries
40 entries across 40 versions & 1 rubygems