Method: GraphQL::StaticValidation::TypeStack#object_types
- Defined in:
- lib/graphql/static_validation/type_stack.rb
#object_types ⇒ Array<GraphQL::ObjectType, GraphQL::Union, GraphQL::Interface> (readonly)
When it enters an object (starting with query or mutation root), it’s pushed on this stack. When it exits, it’s popped off.
18 19 20 |
# File 'lib/graphql/static_validation/type_stack.rb', line 18 def object_types @object_types end |