@@ -17,7 +17,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
17
17
## Maintenance
18
18
## Documentation-->
19
19
20
- # [ x.x.x ] (unreleased ) - 2024-mm-dd
20
+ # [ 1.0.0-beta.12 ] ( https://crates.io/crates/apollo-compiler/1.0.0-beta.12 ) - 2024-01-15
21
21
22
22
## BREAKING
23
23
- ** ` InputValueDefinition::is_required() ` returns false if it has a default value - [ goto-bus-stop] , [ pull/798] **
@@ -29,13 +29,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
29
29
- ** Add ` FieldDefinition::argument_by_name ` and ` DirectiveDefinition::argument_by_name ` - [ goto-bus-stop] , [ pull/801] **
30
30
- These methods return an argument definition by name, or ` None ` .
31
31
- ** Add ` .lookup ` methods to schema coordinates - [ goto-bus-stop] , [ pull/803] **
32
- - ` coord!().lookup(&schema) ` returns the element at the given coordinate.
32
+ - ` coord!(Type).lookup(&schema) ` returns the type definition for ` Type ` .
33
+ - ` coord!(Type.field).lookup_field(&schema) ` returns the field definition for ` field ` .
34
+ - ` coord!(Enum.VALUE).lookup_enum_value(&schema) ` returns the enum value definition for ` VALUE ` .
35
+ - ` coord!(InputType.field).lookup_input_field(&schema) ` returns the input field definition for ` field ` .
36
+ - ` coord!(Type.field(argument:)).lookup(&schema) ` returns the argument definition for ` argument ` .
37
+ - ` coord!(@directive).lookup(&schema) ` returns the directive definition for ` @directive ` .
38
+ - ` coord!(@directive(argument:)).lookup(&schema) ` returns the argument definition for ` argument ` .
39
+ - ` string.parse::<SchemaCoordinate>()?.lookup(&schema) ` returns an enum with all the elements
40
+ that can be looked up using schema coordinates.
41
+
42
+ ## Maintenance
43
+ - ** update ariadne to 0.4.0 - [ pull/793] **
44
+ Ariadne is the diagnostic printing crate used for validation errors. v0.4.0 improves memory usage.
33
45
34
46
[ goto-bus-stop ] : https://github.com/goto-bus-stop]
35
47
[ pull/795 ] : https://github.com/apollographql/apollo-rs/pull/795
36
48
[ pull/798 ] : https://github.com/apollographql/apollo-rs/pull/798
37
49
[ pull/801 ] : https://github.com/apollographql/apollo-rs/pull/801
38
50
[ pull/803 ] : https://github.com/apollographql/apollo-rs/pull/803
51
+ [ pull/793 ] : https://github.com/apollographql/apollo-rs/pull/793
39
52
40
53
# [ 1.0.0-beta.11] ( https://crates.io/crates/apollo-compiler/1.0.0-beta.11 ) - 2023-12-19
41
54
0 commit comments