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

The OperationExecutor does not emit error results #7632

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

david-driscoll
Copy link
Contributor

When the OperationExecutor does not emit any error results, because the Result is always null.

I was not sure how best to fix this, and I'm not as deeply involved in the spec, so this is my best guess atm.
Basically if any error results are found, OperationExecutor will OnNext and complete the observable. This could be wrong behavior instead of just OnNext the result and move on.

I made the change to both OperationExecutor and StorelessOperationExecutor so their behavior would be consistent. (And to help identify if I'm thinking about errors all the wrong way).

@michaelstaib
Copy link
Member

@david-driscoll thanks for contributing this ... I will package it into 14.1

@michaelstaib
Copy link
Member

OK ... I will need to look into why the tests fail.

@david-driscoll
Copy link
Contributor Author

I missed those tests myself, I'll try and take a look as well.

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

Successfully merging this pull request may close these issues.

2 participants