Replies: 1 comment 1 reply
-
I've dug some more into this issue, and have discovered some things. In our codebase we have added So what I'm actually looking for is to replace the @rmosolgo would this be something you are open to considering? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We serve search results using GraphQL. This results is basically looks something like this:
The
SearchResult
returns aNode
and some search result meta data. However, at this time the search system sometimes returns values "that don't make sense" and cause an error in the result. Most commonly it's aCannot return null for non-nullable field
for either the node, or some nested field.What I would like to do, while we fix the root issue, is to still return any valid result. So instead of completely erroring out, we should just be ignoring the edge/node that that is causing the error.
To be clear, say that the search database returns 5 results, of which 2 cause an issue in the graph response, then I would like to still have a response containing 3 edges/nodes.
How could this be done?
Beta Was this translation helpful? Give feedback.
All reactions