Skip to content

teskit-backend: Enabling tests for Result.then #813

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

Merged
merged 2 commits into from
Nov 11, 2021

Conversation

bigmontz
Copy link
Contributor

These changes enable the test relate to consume all records as list in one function call.

The Result implementation in javascript doesn't allow resolve and subscribe at the same result without having strange behaviours. Then, the moment ResultObserver subscribes to the Result events was moved to the moment someone interacts with some ResultObserver method. This also implies in text which call next before list being skipped.

These changes enable the test relate to cosume all records as list in one function call.

The Result implementation in javascript doesn't allow resolve and subscribe at the same result without having strange behaviours. Then, the moment `ResultObserver` subscribes to the `Result` events was moved to the moment someone iteracts with some `ResultObserver` method. This also implies in text which call next before list being skipped.
@bigmontz bigmontz marked this pull request as ready for review November 10, 2021 13:56
@bigmontz
Copy link
Contributor Author

Depends on: neo4j-drivers/testkit#303

@bigmontz bigmontz merged commit d91df6d into neo4j:4.4 Nov 11, 2021
@bigmontz bigmontz deleted the 4.4-enabling-testkit-Result.List branch November 11, 2021 11:09
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