Schema { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 4: SourceFile { path: "0002_multiple_named_operation_definitions.graphql", source_text: "query getCatName {\n cat {\n name\n }\n}\n\nquery getOwnerName {\n cat {\n owner {\n name\n }\n }\n}\n\n\ntype Query {\n cat: Pet\n}\n\ntype Pet {\n name: String,\n owner: PetOwner\n}\n\ntype PetOwner {\n name: String\n}\n", }, }, schema_definition: SchemaDefinition { description: None, directives: [], query: Some( ComponentName { origin: Definition, name: "Query", }, ), mutation: None, subscription: None, }, directive_definitions: { "skip": built_in_directive!("skip"), "include": built_in_directive!("include"), "deprecated": built_in_directive!("deprecated"), "specifiedBy": built_in_directive!("specifiedBy"), }, types: { "__Schema": built_in_type!("__Schema"), "__Type": built_in_type!("__Type"), "__TypeKind": built_in_type!("__TypeKind"), "__Field": built_in_type!("__Field"), "__InputValue": built_in_type!("__InputValue"), "__EnumValue": built_in_type!("__EnumValue"), "__Directive": built_in_type!("__Directive"), "__DirectiveLocation": built_in_type!("__DirectiveLocation"), "String": built_in_type!("String"), "Boolean": built_in_type!("Boolean"), "Query": Object( 109..134 @4 ObjectType { description: None, name: "Query", implements_interfaces: {}, directives: [], fields: { "cat": Component { origin: Definition, node: 124..132 @4 FieldDefinition { description: None, name: "cat", arguments: [], ty: Named( "Pet", ), directives: [], }, }, }, }, ), "Pet": Object( 136..182 @4 ObjectType { description: None, name: "Pet", implements_interfaces: {}, directives: [], fields: { "name": Component { origin: Definition, node: 149..161 @4 FieldDefinition { description: None, name: "name", arguments: [], ty: Named( "String", ), directives: [], }, }, "owner": Component { origin: Definition, node: 165..180 @4 FieldDefinition { description: None, name: "owner", arguments: [], ty: Named( "PetOwner", ), directives: [], }, }, }, }, ), "PetOwner": Object( 184..216 @4 ObjectType { description: None, name: "PetOwner", implements_interfaces: {}, directives: [], fields: { "name": Component { origin: Definition, node: 202..214 @4 FieldDefinition { description: None, name: "name", arguments: [], ty: Named( "String", ), directives: [], }, }, }, }, ), }, } ExecutableDocument { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 4: SourceFile { path: "0002_multiple_named_operation_definitions.graphql", source_text: "query getCatName {\n cat {\n name\n }\n}\n\nquery getOwnerName {\n cat {\n owner {\n name\n }\n }\n}\n\n\ntype Query {\n cat: Pet\n}\n\ntype Pet {\n name: String,\n owner: PetOwner\n}\n\ntype PetOwner {\n name: String\n}\n", }, }, operations: OperationMap { anonymous: None, named: { "getCatName": 0..41 @4 Operation { operation_type: Query, name: Some( "getCatName", ), variables: [], directives: [], selection_set: SelectionSet { ty: "Query", selections: [ Field( 21..39 @4 Field { definition: 124..132 @4 FieldDefinition { description: None, name: "cat", arguments: [], ty: Named( "Pet", ), directives: [], }, alias: None, name: "cat", arguments: [], directives: [], selection_set: SelectionSet { ty: "Pet", selections: [ Field( 31..35 @4 Field { definition: 149..161 @4 FieldDefinition { description: None, name: "name", arguments: [], ty: Named( "String", ), directives: [], }, alias: None, name: "name", arguments: [], directives: [], selection_set: SelectionSet { ty: "String", selections: [], }, }, ), ], }, }, ), ], }, }, "getOwnerName": 43..106 @4 Operation { operation_type: Query, name: Some( "getOwnerName", ), variables: [], directives: [], selection_set: SelectionSet { ty: "Query", selections: [ Field( 66..104 @4 Field { definition: 124..132 @4 FieldDefinition { description: None, name: "cat", arguments: [], ty: Named( "Pet", ), directives: [], }, alias: None, name: "cat", arguments: [], directives: [], selection_set: SelectionSet { ty: "Pet", selections: [ Field( 76..100 @4 Field { definition: 165..180 @4 FieldDefinition { description: None, name: "owner", arguments: [], ty: Named( "PetOwner", ), directives: [], }, alias: None, name: "owner", arguments: [], directives: [], selection_set: SelectionSet { ty: "PetOwner", selections: [ Field( 90..94 @4 Field { definition: 202..214 @4 FieldDefinition { description: None, name: "name", arguments: [], ty: Named( "String", ), directives: [], }, alias: None, name: "name", arguments: [], directives: [], selection_set: SelectionSet { ty: "String", selections: [], }, }, ), ], }, }, ), ], }, }, ), ], }, }, }, }, fragments: {}, }