router
router copied to clipboard
A configurable, high-performance routing runtime for Apollo Federation 🚀
:construction: The exploration of future wasm extensions will happen in this PR
@defer: error related to a field in a deferred fragment appears in chunk for non-deferred fragment
**Describe the bug** Using the graphql [test suite](https://github.com/graphql/graphql-js/blob/a24a9f35b876bdd0d5050eca34d3020bd0db9a29/src/execution/__tests__/defer-test.ts#L424) as an inspiration, I am selecting a field that resolves to an error, in a deferred fragment: ```graphql query HandlesErrorsThrownInDeferredFragmentsQuery { computer(id:...
Part of https://github.com/apollographql/router/issues/799 Builders generated by `buildstructor` have the nice feature of checking at compile-time that required data is indeed provided. However this makes the generated builder type rather complex...
When you need to debug the router or find why you received an error from the router it's often a pain and can take time to discover what's going on....
There are several things that need to be looked at: * Upgrade to the latest open telemetry version. - we're expecting changes. * Fix premature shutdown of opentelemetry. - Currently...
Part of the current output for `cargo test --all`: ``` Running unittests src/main.rs (target/debug/deps/jwt_auth-2685b1c10b4305b5) running 8 tests ......2022-08-23T11:42:20.216299Z INFO apollo_router::router_factory: list of plugins plugin_details=[("experimental.include_subgraph_errors", "apollo_router::plugins::include_subgraph_errors::IncludeSubgraphErrors"), ("apollo.csrf", "apollo_router::plugins::csrf::Csrf"), ("apollo.telemetry", "apollo_router::plugins::telemetry::Telemetry"), ("example.jwt",...
**Is your feature request related to a problem? Please describe.** In our existing NodeJS gateway we have customised logger to include some non-sensitive headers as part of logs for various...
**Describe the solution you'd like** Currently there is no way to configure the `tracing_subscriber` `Subscriber` implementation that's set up here: https://github.com/apollographql/router/blob/23d6a9fc479119e8c9cd4bc88383f81fb7efa337/apollo-router/src/executable.rs#L194-L213 There are limited configuration options using the environment variables...
There are various behaviours within the router which some users may wish to see more extensive logging. I don't mean log levels, but things like parsing errors or schema validation...
**Describe the solution you'd like** Logging says there are 2 kinds of logging, basic and json. I can't find anything on how to configure this. I've also been looking for...