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

Effect handler errors #692

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Effect handler errors #692

wants to merge 1 commit into from

Conversation

swalker2m
Copy link
Collaborator

I have a use case in my application where a query accesses two fields which are implemented with EffectFields. If both of these produce a Result.Failure, what should the caller expect? In my case I sometimes get one error, sometimes two. In this PR's test case, if you run it enough times you will see sometimes one field's failure is reported, sometimes the other. I would like to always reliably get both errors or at least a deterministic result.

@milessabin milessabin self-assigned this Jan 11, 2025
@milessabin milessabin added the bug Something isn't working label Jan 11, 2025
@milessabin
Copy link
Member

Yes, I agree, you should be getting a consistent result here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants