Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow resolvers to return data *and* errors? #192

Open
sgrove opened this issue May 5, 2020 · 0 comments
Open

Allow resolvers to return data *and* errors? #192

sgrove opened this issue May 5, 2020 · 0 comments

Comments

@sgrove
Copy link

sgrove commented May 5, 2020

Right now a single field must return either data xor error, but this is especially lossy for list io_field types. I may succeed on 80/100 items I need (and would like to show to the user), but the errors may be critical, so I discard the 80 items I did retrieve in favor of reporting the 20 errors I encountered.

I know the idea has been brought up before, but I couldn't find it in the list, so asking in case there are any ideas of how this could be represented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant