How to ignore routes and filter GraphQL URLs? #1879
-
Expected Behavior / New FeatureHello! I want to ignore some routes for the Ocelot. Actual Behavior / Motivation for New FeatureI have a on my gateway GraphQL Stitching already, which is under Solution which I made, but I feel that it should be done better: Specifications
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Adrian! You don't need to filter GraphQL URLs or ignore routes. Now OData, GraphQL URLs should be routed through Ocelot without the problems because OData and GraphQL technology use query string special syntax to send requests.
We have special unit/acceptance tests which do the testing of URLs like OData. I guess GraphQL URLs have just different query parameter name. Let us know testing results after updating to v22.0 plz! |
Beta Was this translation helpful? Give feedback.
Hi Adrian!
Sorry for the late reply!
You don't need to filter GraphQL URLs or ignore routes. Now OData, GraphQL URLs should be routed through Ocelot without the problems because OData and GraphQL technology use query string special syntax to send requests.
In 22.0.0 release we've fixed the OData URLs routing issues. See more in:
We have special unit/acceptance tests which do the testing of URLs like OData. I guess GraphQL URLs have just different query parameter name.
Let us know testing results after updating to v22.0 plz!