router
router copied to clipboard
A configurable, high-performance routing runtime for Apollo Federation 🚀
### Description Allow `baseUrl` property of sources to use `$config` and `$env` environment variables in URL templates. Note: Additional validation is added to ensure no other variables (i.e. `$args`, `$request`,...
--- **Checklist** Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review. - [ ] PR description explains the motivation for the change and relevant context for...
When a subgraph returns an unexpected response (ie not a body with at least one of `errors` or `data`), the errors surfaced by the router include an `@` in the...
--- **Checklist** Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review. - [ ] PR description explains the motivation for the change and relevant context for...
This change - exposes `get_federation_spec_definition_string_from_version(...)` to allow clients to get a `String` representation of `FederationSpecDefinition` at a specified version number - updates `schema_as_fed2_subgraph(...)` to take a version number, in order...
### Summary * refactor: added `CachingConditionResolver` trait to make the caching resolver functionality reusable * ported `simpleValidationConditionResolver` * added a simple unit test. Unsatisfiable case is hard to test currently...
Promote ->or connectors method to public --- **Checklist** Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review. - [x] Changes are compatible[^1] - [ ] Documentation[^2]...
Add ->ne connectors method --- **Checklist** Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review. - [x] Changes are compatible[^1] - [ ] Documentation[^2] completed -...
When a coprocessor returns some invalid data, you now get an HTTP 500 with extension code "EXTERNAL_CALL_ERROR" instead of "INTERNAL_SERVER_ERROR", and a slightly improved error message that mentions the coprocessor....
I saw @lambertjosh stumble on this at one point and I wrote this quick fix but never opened the PR. I'm not sure what the impact of using a single...