Sha256: 36c0f37a98a1dd7891ac2109f62e228f17ae887cad8c5f519cb15211897c299d
Contents?: true
Size: 380 Bytes
Versions: 10
Compression:
Stored size: 380 Bytes
Contents
module GraphQL module Introspection # A wrapper to implement `__schema` class SchemaField def self.create(wrapped_type) GraphQL::Field.define do name("__schema") description("This GraphQL schema") type(!GraphQL::Introspection::SchemaType) resolve ->(o, a, c) { wrapped_type } end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems