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
Make GraphQL requests to the server with varying paths URL /, /graphql/foo, graphql/bar
Note that it is always / regardless of the request path
Expected behavior
I would expect requests that go to host.com/graphql/foo would have a path value of /graphql/foo in the url struct.
Additional context
We include the operation name in our URL path, so being able to validate that the operation name in the path matches the operation name in the body would be helpful.
The text was updated successfully, but these errors were encountered:
Describe the bug
When inspecting the HTTP request from within a plugin, the URL path is always
/
To Reproduce
Steps to reproduce the behavior:
router_service
that prints out the URL path/
,/graphql/foo
,graphql/bar
/
regardless of the request pathExpected behavior
I would expect requests that go to
host.com/graphql/foo
would have a path value of/graphql/foo
in the url struct.Additional context
We include the operation name in our URL path, so being able to validate that the operation name in the path matches the operation name in the body would be helpful.
The text was updated successfully, but these errors were encountered: