Schema { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 26: SourceFile { path: "0025_unique_directives.graphql", source_text: "directive @repeatable repeatable on FIELD\ndirective @unique on FIELD\n\ntype Query {\n field: Int\n}\n\n{\n field @repeatable @repeatable\n field @unique\n field @unique\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"), "repeatable": 0..41 @26 DirectiveDefinition { description: None, name: "repeatable", arguments: [], repeatable: true, locations: [ "FIELD", ], }, "unique": 42..68 @26 DirectiveDefinition { description: None, name: "unique", arguments: [], repeatable: false, locations: [ "FIELD", ], }, }, 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"), "Int": built_in_type!("Int"), "String": built_in_type!("String"), "Boolean": built_in_type!("Boolean"), "Query": Object( 70..97 @26 ObjectType { description: None, name: "Query", implements_interfaces: {}, directives: [], fields: { "field": Component { origin: Definition, node: 85..95 @26 FieldDefinition { description: None, name: "field", arguments: [], ty: Named( "Int", ), directives: [], }, }, }, }, ), }, } ExecutableDocument { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 26: SourceFile { path: "0025_unique_directives.graphql", source_text: "directive @repeatable repeatable on FIELD\ndirective @unique on FIELD\n\ntype Query {\n field: Int\n}\n\n{\n field @repeatable @repeatable\n field @unique\n field @unique\n}\n", }, }, operations: OperationMap { anonymous: Some( 99..166 @26 Operation { operation_type: Query, name: None, variables: [], directives: [], selection_set: SelectionSet { ty: "Query", selections: [ Field( 103..132 @26 Field { definition: 85..95 @26 FieldDefinition { description: None, name: "field", arguments: [], ty: Named( "Int", ), directives: [], }, alias: None, name: "field", arguments: [], directives: [ 109..120 @26 Directive { name: "repeatable", arguments: [], }, 121..132 @26 Directive { name: "repeatable", arguments: [], }, ], selection_set: SelectionSet { ty: "Int", selections: [], }, }, ), Field( 135..148 @26 Field { definition: 85..95 @26 FieldDefinition { description: None, name: "field", arguments: [], ty: Named( "Int", ), directives: [], }, alias: None, name: "field", arguments: [], directives: [ 141..148 @26 Directive { name: "unique", arguments: [], }, ], selection_set: SelectionSet { ty: "Int", selections: [], }, }, ), Field( 151..164 @26 Field { definition: 85..95 @26 FieldDefinition { description: None, name: "field", arguments: [], ty: Named( "Int", ), directives: [], }, alias: None, name: "field", arguments: [], directives: [ 157..164 @26 Directive { name: "unique", arguments: [], }, ], selection_set: SelectionSet { ty: "Int", selections: [], }, }, ), ], }, }, ), named: {}, }, fragments: {}, }