Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(compiler): add schema coordinates #757

Merged
merged 14 commits into from
Dec 19, 2023
Merged
5 changes: 5 additions & 0 deletions crates/apollo-compiler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- **Add `NodeStr::from(Name)` - [goto-bus-stop], [pull/773]**
- **Convenience accessors for `ast::Selection` enum - [SimonSapin], [pull/777]**
`as_field`, `as_inline_fragment`, and `as_fragment_spread`; all returning `Option<&_>`.
- **Add schema coordinates - [goto-bus-stop], [pull/757]:**
Schema coordinates are a compact, human-readable way to uniquely point to an item defined in a schema.
- `string.parse::<SchemaCoordinate>()` parses a coordinate from a string.
- Coordinates have a `Display` impl that writes them out with schema coordinate syntax.
- The `coord!()` macro creates a static coordinate at compile time from spec syntax.

## Fixes
- **Fix serializing single-line strings with leading whitespace - [goto-bus-stop], [pull/774]**
Expand Down
Loading