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