-
Notifications
You must be signed in to change notification settings - Fork 56
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
QueryBus returns null with FinalizeGuard plugin included #177
Comments
promises are suppose to return something. each then() may change the passed payload. therefore when I change the FinalizeGuard like the following, I get three green lights when running your tests.
I don't understand why this would have worked so far. I'm using the same react/promise version. |
I don't deal with async stuff at my work. Is it something I should make a PR for or what is the solution here? @basz can you take a moment and analyze your code. If you will copy the same tests in your project - will they fail? If so hows your project working? :) |
Test to reproduce the problem:
https://github.com/lezhnev74/prooph-query-test/blob/prooph-bare/tests/QueryTest.php
Results:
RouteGuard
- passFinalizeGuard
- failThe text was updated successfully, but these errors were encountered: