Method: GraphQL::Schema#as_json
- Defined in:
- lib/graphql/schema.rb
#as_json(only: nil, except: nil, context: {}) ⇒ Hash
Return the Hash response of Introspection::INTROSPECTION_QUERY.
556 557 558 |
# File 'lib/graphql/schema.rb', line 556 def as_json(only: nil, except: nil, context: {}) execute(Introspection::INTROSPECTION_QUERY, only: only, except: except, context: context) end |