Schema { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 21: SourceFile { path: "0019_extensions.graphql", source_text: "scalar Scalar\n\ntype Object implements Intf {\n field: Int,\n}\n\ninterface Intf {\n field: Int,\n}\n\ninput Input {\n field: Enum,\n}\nenum Enum {\n MEMBER,\n}\n\nextend scalar Scalar @specifiedBy(url: \"https://apollographql.com\")\nextend interface Intf {\n field2: Scalar,\n}\nextend type Object {\n field2: Scalar,\n}\nextend enum Enum {\n MEMBER_2,\n}\nextend input Input {\n field2: Int,\n}\n\ntype Query {\n object: Object,\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"), "Int": built_in_type!("Int"), "String": built_in_type!("String"), "Boolean": built_in_type!("Boolean"), "Scalar": Scalar( 0..13 @21 ScalarType { description: None, name: "Scalar", directives: [ Component { origin: Extension( ExtensionId { arc: Some( 152..219 @21, ), }, ), node: 173..219 @21 Directive { name: "specifiedBy", arguments: [ 186..218 @21 Argument { name: "url", value: 191..218 @21 String( "https://apollographql.com", ), }, ], }, }, ], }, ), "Object": Object( 15..60 @21 ObjectType { description: None, name: "Object", implements_interfaces: { ComponentName { origin: Definition, name: "Intf", }, }, directives: [], fields: { "field": Component { origin: Definition, node: 47..57 @21 FieldDefinition { description: None, name: "field", arguments: [], ty: Named( "Int", ), directives: [], }, }, "field2": Component { origin: Extension( ExtensionId { arc: Some( 264..304 @21, ), }, ), node: 287..301 @21 FieldDefinition { description: None, name: "field2", arguments: [], ty: Named( "Scalar", ), directives: [], }, }, }, }, ), "Intf": Interface( 62..94 @21 InterfaceType { description: None, name: "Intf", implements_interfaces: {}, directives: [], fields: { "field": Component { origin: Definition, node: 81..91 @21 FieldDefinition { description: None, name: "field", arguments: [], ty: Named( "Int", ), directives: [], }, }, "field2": Component { origin: Extension( ExtensionId { arc: Some( 220..263 @21, ), }, ), node: 246..260 @21 FieldDefinition { description: None, name: "field2", arguments: [], ty: Named( "Scalar", ), directives: [], }, }, }, }, ), "Input": InputObject( 96..126 @21 InputObjectType { description: None, name: "Input", directives: [], fields: { "field": Component { origin: Definition, node: 112..123 @21 InputValueDefinition { description: None, name: "field", ty: 119..123 @21 Named( "Enum", ), default_value: None, directives: [], }, }, "field2": Component { origin: Extension( ExtensionId { arc: Some( 338..375 @21, ), }, ), node: 361..372 @21 InputValueDefinition { description: None, name: "field2", ty: 369..372 @21 Named( "Int", ), default_value: None, directives: [], }, }, }, }, ), "Enum": Enum( 127..150 @21 EnumType { description: None, name: "Enum", directives: [], values: { "MEMBER": Component { origin: Definition, node: 141..147 @21 EnumValueDefinition { description: None, value: "MEMBER", directives: [], }, }, "MEMBER_2": Component { origin: Extension( ExtensionId { arc: Some( 305..337 @21, ), }, ), node: 326..334 @21 EnumValueDefinition { description: None, value: "MEMBER_2", directives: [], }, }, }, }, ), "Query": Object( 377..409 @21 ObjectType { description: None, name: "Query", implements_interfaces: {}, directives: [], fields: { "object": Component { origin: Definition, node: 392..406 @21 FieldDefinition { description: None, name: "object", arguments: [], ty: Named( "Object", ), directives: [], }, }, }, }, ), }, } ExecutableDocument { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 21: SourceFile { path: "0019_extensions.graphql", source_text: "scalar Scalar\n\ntype Object implements Intf {\n field: Int,\n}\n\ninterface Intf {\n field: Int,\n}\n\ninput Input {\n field: Enum,\n}\nenum Enum {\n MEMBER,\n}\n\nextend scalar Scalar @specifiedBy(url: \"https://apollographql.com\")\nextend interface Intf {\n field2: Scalar,\n}\nextend type Object {\n field2: Scalar,\n}\nextend enum Enum {\n MEMBER_2,\n}\nextend input Input {\n field2: Int,\n}\n\ntype Query {\n object: Object,\n}\n", }, }, operations: OperationMap { anonymous: None, named: {}, }, fragments: {}, }