Schema { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 10: SourceFile { path: "0008_schema_with_directive_definition.graphql", source_text: "type Query {\n literature: Book\n}\n\ndirective @delegateField(name: String!) repeatable on OBJECT | INTERFACE\n\ntype Book @delegateField(name: \"pageCount\") @delegateField(name: \"author\") {\n id: ID!\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"), "delegateField": 37..109 @10 DirectiveDefinition { description: None, name: "delegateField", arguments: [ 62..75 @10 InputValueDefinition { description: None, name: "name", ty: 68..75 @10 NonNullNamed( "String", ), default_value: None, directives: [], }, ], repeatable: true, locations: [ "OBJECT", "INTERFACE", ], }, }, 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"), "ID": built_in_type!("ID"), "Query": Object( 0..35 @10 ObjectType { description: None, name: "Query", implements_interfaces: {}, directives: [], fields: { "literature": Component { origin: Definition, node: 17..33 @10 FieldDefinition { description: None, name: "literature", arguments: [], ty: Named( "Book", ), directives: [], }, }, }, }, ), "Book": Object( 111..199 @10 ObjectType { description: None, name: "Book", implements_interfaces: {}, directives: [ Component { origin: Definition, node: 121..154 @10 Directive { name: "delegateField", arguments: [ 136..153 @10 Argument { name: "name", value: 142..153 @10 String( "pageCount", ), }, ], }, }, Component { origin: Definition, node: 155..185 @10 Directive { name: "delegateField", arguments: [ 170..184 @10 Argument { name: "name", value: 176..184 @10 String( "author", ), }, ], }, }, ], fields: { "id": Component { origin: Definition, node: 190..197 @10 FieldDefinition { description: None, name: "id", arguments: [], ty: NonNullNamed( "ID", ), directives: [], }, }, }, }, ), }, } ExecutableDocument { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 10: SourceFile { path: "0008_schema_with_directive_definition.graphql", source_text: "type Query {\n literature: Book\n}\n\ndirective @delegateField(name: String!) repeatable on OBJECT | INTERFACE\n\ntype Book @delegateField(name: \"pageCount\") @delegateField(name: \"author\") {\n id: ID!\n}", }, }, operations: OperationMap { anonymous: None, named: {}, }, fragments: {}, }