Schema { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 42: SourceFile { path: "0041_unquoted_string_for_custom_scalar.graphql", source_text: "scalar Currency\n\ntype Query {\n convertToUSD(amount: Int!, currency: Currency!): Int!\n}\n\nquery {\n convertToUSD(amount: 100, currency: EUR)\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"), "Currency": Scalar( 0..15 @42 ScalarType { description: None, name: "Currency", directives: [], }, ), "Query": Object( 17..87 @42 ObjectType { description: None, name: "Query", implements_interfaces: {}, directives: [], fields: { "convertToUSD": Component { origin: Definition, node: 32..85 @42 FieldDefinition { description: None, name: "convertToUSD", arguments: [ 45..57 @42 InputValueDefinition { description: None, name: "amount", ty: 53..57 @42 NonNullNamed( "Int", ), default_value: None, directives: [], }, 59..78 @42 InputValueDefinition { description: None, name: "currency", ty: 69..78 @42 NonNullNamed( "Currency", ), default_value: None, directives: [], }, ], ty: NonNullNamed( "Int", ), directives: [], }, }, }, }, ), }, } ExecutableDocument { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 42: SourceFile { path: "0041_unquoted_string_for_custom_scalar.graphql", source_text: "scalar Currency\n\ntype Query {\n convertToUSD(amount: Int!, currency: Currency!): Int!\n}\n\nquery {\n convertToUSD(amount: 100, currency: EUR)\n}\n", }, }, operations: OperationMap { anonymous: Some( 89..141 @42 Operation { operation_type: Query, name: None, variables: [], directives: [], selection_set: SelectionSet { ty: "Query", selections: [ Field( 99..139 @42 Field { definition: 32..85 @42 FieldDefinition { description: None, name: "convertToUSD", arguments: [ 45..57 @42 InputValueDefinition { description: None, name: "amount", ty: 53..57 @42 NonNullNamed( "Int", ), default_value: None, directives: [], }, 59..78 @42 InputValueDefinition { description: None, name: "currency", ty: 69..78 @42 NonNullNamed( "Currency", ), default_value: None, directives: [], }, ], ty: NonNullNamed( "Int", ), directives: [], }, alias: None, name: "convertToUSD", arguments: [ 112..123 @42 Argument { name: "amount", value: 120..123 @42 Int( 100, ), }, 125..138 @42 Argument { name: "currency", value: 135..138 @42 Enum( "EUR", ), }, ], directives: [], selection_set: SelectionSet { ty: "Int", selections: [], }, }, ), ], }, }, ), named: {}, }, fragments: {}, }