Class: GraphQL::Introspection::TypeType
- Defined in:
- lib/graphql/introspection/type_type.rb
Instance Attribute Summary
Attributes inherited from Node
#original_target, #query, #syntax_fields, #target
Instance Method Summary collapse
-
#fields ⇒ Object
they’re actually FieldMappings.
- #name ⇒ Object
Methods inherited from Node
#__type__, all_fields, #apply_calls, #as_result, call, calls, #context, cursor, default_schema_name, desc, description, exposes, exposes_class_names, field, #finished_value, #initialize, #method_missing, own_calls, own_fields, remove_field, respond_to_field?, schema_name, type
Constructor Details
This class inherits a constructor from GraphQL::Node
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GraphQL::Node
Instance Method Details
#fields ⇒ Object
they’re actually FieldMappings
11 12 13 |
# File 'lib/graphql/introspection/type_type.rb', line 11 def fields target.all_fields.values end |
#name ⇒ Object
15 16 17 |
# File 'lib/graphql/introspection/type_type.rb', line 15 def name schema_name end |