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
I created an ErrorLink that parsers the errors and throws them.
Problem
The problem comes when the graphql client catches these errors and encapsulates them to always return a QueryResult. I would expect that the errors thrown by the ErrorLink could propagate (by throwing them) till my domain layer.
enhancementNew feature or requestdart clientIssue relates mainly to the standalone dart client
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! 👋
Context
I created an
ErrorLink
that parsers the errors and throws them.Problem
The problem comes when the
graphql
client catches these errors and encapsulates them to always return aQueryResult
. I would expect that the errors thrown by theErrorLink
could propagate (by throwing them) till my domain layer.Would be possible to do this?
Beta Was this translation helpful? Give feedback.
All reactions