Schema { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 7: SourceFile { path: "0005_schema_with_valid_enum_definitions.graphql", source_text: "type Query {\n pet: Pet,\n snacks: Snack,\n}\n\nenum Pet {\n CAT\n DOG\n FOX\n}\n\nenum Snack {\n THRIVE_PET_FOODS\n LILYS_KITCHEN\n ACANA\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"), "String": built_in_type!("String"), "Boolean": built_in_type!("Boolean"), "Query": Object( 0..43 @7 ObjectType { description: None, name: "Query", implements_interfaces: {}, directives: [], fields: { "pet": Component { origin: Definition, node: 15..23 @7 FieldDefinition { description: None, name: "pet", arguments: [], ty: Named( "Pet", ), directives: [], }, }, "snacks": Component { origin: Definition, node: 27..40 @7 FieldDefinition { description: None, name: "snacks", arguments: [], ty: Named( "Snack", ), directives: [], }, }, }, }, ), "Pet": Enum( 45..81 @7 EnumType { description: None, name: "Pet", directives: [], values: { "CAT": Component { origin: Definition, node: 60..63 @7 EnumValueDefinition { description: None, value: "CAT", directives: [], }, }, "DOG": Component { origin: Definition, node: 68..71 @7 EnumValueDefinition { description: None, value: "DOG", directives: [], }, }, "FOX": Component { origin: Definition, node: 76..79 @7 EnumValueDefinition { description: None, value: "FOX", directives: [], }, }, }, }, ), "Snack": Enum( 83..146 @7 EnumType { description: None, name: "Snack", directives: [], values: { "THRIVE_PET_FOODS": Component { origin: Definition, node: 100..116 @7 EnumValueDefinition { description: None, value: "THRIVE_PET_FOODS", directives: [], }, }, "LILYS_KITCHEN": Component { origin: Definition, node: 121..134 @7 EnumValueDefinition { description: None, value: "LILYS_KITCHEN", directives: [], }, }, "ACANA": Component { origin: Definition, node: 139..144 @7 EnumValueDefinition { description: None, value: "ACANA", directives: [], }, }, }, }, ), }, } ExecutableDocument { sources: { 1: SourceFile { path: "built_in.graphql", source_text: include_str!("built_in.graphql"), }, 7: SourceFile { path: "0005_schema_with_valid_enum_definitions.graphql", source_text: "type Query {\n pet: Pet,\n snacks: Snack,\n}\n\nenum Pet {\n CAT\n DOG\n FOX\n}\n\nenum Snack {\n THRIVE_PET_FOODS\n LILYS_KITCHEN\n ACANA\n}", }, }, operations: OperationMap { anonymous: None, named: {}, }, fragments: {}, }