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
Describe the bug
When an invalid GraphQL query is sent to the router, the router answers this query without calling any native plugins.
This is a new behavior since v1.45.0 and I guess it's related to #4551
To Reproduce
Send an invalid query like:
let request = Request::builder().query(r#"query { _service { sdl"#).build();
In router v1.44, the plugins are called and have a chance to adapt the response sent. Ex:
Describe the bug
When an invalid GraphQL query is sent to the router, the router answers this query without calling any native plugins.
This is a new behavior since v1.45.0 and I guess it's related to #4551
To Reproduce
Send an invalid query like:
In router v1.44, the plugins are called and have a chance to adapt the response sent. Ex:
In router v1.45, the plugin is not called anymore.
Expected behavior
It'd be great if the plugins are called even in case of invalid GraphQL queries. This is the way we're adapting the error code.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: