You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for example: When starting the application with this router config
supergraph:
# The path for GraphQL execution
# (Defaults to /)
path: /*
this appears in the logs:
2023-01-25T11:55:24.877417Z INFO healthcheck endpoint exposed at http://0.0.0.0:8088/health
2023-01-25T11:55:24.877519Z INFO GraphQL endpoint exposed at http://127.0.0.1:4000/* 🚀
It has been introduced by the axum upgrade https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.0 they introduced a breaking change which means it only matches on test.com/ and not test.com if you provided /*. But in that specific case (/*) it would make sense to also add the support to test.com. But if you're providing /whatever/* it doesn't make sense to apply that specific rule
…oute without path (#2472)
- Fix#2471
If you provide this configuration:
```yaml
supergraph:
# The path for GraphQL execution
# (Defaults to /)
path: /*
```
Since release `1.8` and due to [axum
upgrade](https://github.com/tokio-rs/axum/releases/tag/axum-v0.6.0) it
won't listen on `localhost` without a path. This PR intend to fix the
axum routing behavior.
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
since version 1.8
https://www.apollographql.com/docs/router/configuration/overview#endpoint-path
for example: When starting the application with this router config
this appears in the logs:
requests to http://127.0.0.1:4000 results in a http 404, the healthcheck works fine
Also without the asterisk it work.
The text was updated successfully, but these errors were encountered: