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

fix(deep-queries): properly return insert result #803

Merged
merged 5 commits into from
Sep 10, 2024
Merged

Conversation

David-Kunz
Copy link
Contributor

@David-Kunz David-Kunz commented Sep 10, 2024

For INSERTs, beforeData is always [] and

return beforeData.length ?? rootResult

would always return 0.

Copy link
Member

@patricebender patricebender left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a test for this scenario?

@David-Kunz
Copy link
Contributor Author

@patricebender , done!

@David-Kunz David-Kunz enabled auto-merge (squash) September 10, 2024 11:48
@David-Kunz David-Kunz merged commit 8d800e2 into main Sep 10, 2024
4 checks passed
@David-Kunz David-Kunz deleted the insert_result branch September 10, 2024 11:56
@cap-bots cap-bots mentioned this pull request Sep 10, 2024
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.

4 participants