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

add transaction support to nested service calls #130

Merged
merged 2 commits into from
Dec 2, 2017

Conversation

paflopes
Copy link
Contributor

Fixes #118
Using the proposed solution in the issue. If any extra tests are necessary please let me know.

@daffl
Copy link
Member

daffl commented Nov 2, 2017

Sorry, I almost missed this! This looks great, thank you for doing this. Is there a way we can test this? I just added the transaction hooks to the normal tests to make sure they at least don't break but it doesn't cover the case of nested service calls.

@paflopes
Copy link
Contributor Author

paflopes commented Nov 2, 2017

We could create two other services with one service's hook calling the other one inside a transaction. I think this should fail before and pass now. What do you think?

@daffl daffl merged commit 7fc105f into feathersjs-ecosystem:master Dec 2, 2017
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

Successfully merging this pull request may close these issues.

2 participants