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(rx-query) findByIds not working with modify and patch #6592

Merged

Conversation

HRM
Copy link
Contributor

@HRM HRM commented Nov 15, 2024

Content

  • Unit tests that shows the bug
  • Fix for the bug

Description

When you chain "findByIds" with "patch" or "modify" it throws an error like "there is not method named modify on doc". The issue is caused by "findByIds" returning a result in the form of a map witch is not handled in "runQueryUpdateFunction".

## Content
* Unit tests that shows the bug
* Fix for the bug
## Description
When you chain "findByIds" with "patch" or "modify" it throws an error like "there is not method named modify on doc". The issue is caused by "findByIds" returning a result in the form of a map witch is not handled in "runQueryUpdateFunction"
@pubkey pubkey merged commit cf5ce9a into pubkey:master Nov 17, 2024
21 checks passed
pubkey added a commit that referenced this pull request Nov 17, 2024
@pubkey
Copy link
Owner

pubkey commented Nov 17, 2024

Thank you very much @HRM . Merged.

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