Schema { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 18: SourceFile { path: "0016_same_variables_in_multiple_operations.graphql", source_text: "query A($atOtherHomes: Boolean) {\n ...HouseTrainedFragment\n}\n\nquery B($atOtherHomes: Boolean) {\n ...HouseTrainedFragment\n}\n\nfragment HouseTrainedFragment on Query {\n dog {\n isHouseTrained(atOtherHomes: $atOtherHomes)\n }\n}\n\ntype Query {\n dog: Dog\n}\n\ntype Dog {\n name: String!\n nickname: String\n barkVolume: Int\n isHouseTrained(atOtherHomes: Boolean): Boolean!\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"), "Query": Object( 230..255 @18 ObjectType { description: None, name: "Query", implements_interfaces: {}, directives: [], fields: { "dog": Component { origin: Definition, node: 245..253 @18 FieldDefinition { description: None, name: "dog", arguments: [], ty: Named( "Dog", ), directives: [], }, }, }, }, ), "Dog": Object( 257..372 @18 ObjectType { description: None, name: "Dog", implements_interfaces: {}, directives: [], fields: { "name": Component { origin: Definition, node: 270..283 @18 FieldDefinition { description: None, name: "name", arguments: [], ty: NonNullNamed( "String", ), directives: [], }, }, "nickname": Component { origin: Definition, node: 286..302 @18 FieldDefinition { description: None, name: "nickname", arguments: [], ty: Named( "String", ), directives: [], }, }, "barkVolume": Component { origin: Definition, node: 305..320 @18 FieldDefinition { description: None, name: "barkVolume", arguments: [], ty: Named( "Int", ), directives: [], }, }, "isHouseTrained": Component { origin: Definition, node: 323..370 @18 FieldDefinition { description: None, name: "isHouseTrained", arguments: [ 338..359 @18 InputValueDefinition { description: None, name: "atOtherHomes", ty: 352..359 @18 Named( "Boolean", ), default_value: None, directives: [], }, ], ty: NonNullNamed( "Boolean", ), directives: [], }, }, }, }, ), }, } ExecutableDocument { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 18: SourceFile { path: "0016_same_variables_in_multiple_operations.graphql", source_text: "query A($atOtherHomes: Boolean) {\n ...HouseTrainedFragment\n}\n\nquery B($atOtherHomes: Boolean) {\n ...HouseTrainedFragment\n}\n\nfragment HouseTrainedFragment on Query {\n dog {\n isHouseTrained(atOtherHomes: $atOtherHomes)\n }\n}\n\ntype Query {\n dog: Dog\n}\n\ntype Dog {\n name: String!\n nickname: String\n barkVolume: Int\n isHouseTrained(atOtherHomes: Boolean): Boolean!\n}", }, }, operations: OperationMap { anonymous: None, named: { "A": 0..61 @18 Operation { operation_type: Query, name: Some( "A", ), variables: [ 8..30 @18 VariableDefinition { name: "atOtherHomes", ty: 23..30 @18 Named( "Boolean", ), default_value: None, directives: [], }, ], directives: [], selection_set: SelectionSet { ty: "Query", selections: [ FragmentSpread( 36..59 @18 FragmentSpread { fragment_name: "HouseTrainedFragment", directives: [], }, ), ], }, }, "B": 63..124 @18 Operation { operation_type: Query, name: Some( "B", ), variables: [ 71..93 @18 VariableDefinition { name: "atOtherHomes", ty: 86..93 @18 Named( "Boolean", ), default_value: None, directives: [], }, ], directives: [], selection_set: SelectionSet { ty: "Query", selections: [ FragmentSpread( 99..122 @18 FragmentSpread { fragment_name: "HouseTrainedFragment", directives: [], }, ), ], }, }, }, }, fragments: { "HouseTrainedFragment": 126..228 @18 Fragment { name: "HouseTrainedFragment", directives: [], selection_set: SelectionSet { ty: "Query", selections: [ Field( 169..226 @18 Field { definition: 245..253 @18 FieldDefinition { description: None, name: "dog", arguments: [], ty: Named( "Dog", ), directives: [], }, alias: None, name: "dog", arguments: [], directives: [], selection_set: SelectionSet { ty: "Dog", selections: [ Field( 179..222 @18 Field { definition: 323..370 @18 FieldDefinition { description: None, name: "isHouseTrained", arguments: [ 338..359 @18 InputValueDefinition { description: None, name: "atOtherHomes", ty: 352..359 @18 Named( "Boolean", ), default_value: None, directives: [], }, ], ty: NonNullNamed( "Boolean", ), directives: [], }, alias: None, name: "isHouseTrained", arguments: [ 194..221 @18 Argument { name: "atOtherHomes", value: 208..221 @18 Variable( "atOtherHomes", ), }, ], directives: [], selection_set: SelectionSet { ty: "Boolean", selections: [], }, }, ), ], }, }, ), ], }, }, }, }