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: remove options.model overwrite on bulkUpdate #15231
fix: remove options.model overwrite on bulkUpdate #15231
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
sorry for the span on request, I did not know only one review was requested per pr |
Thanks for this PR! |
@WikiRik |
Good question! Just open a PR just like this one, but into the |
* fix: remove options.model overwrite on bulkUpdate (#15231) * fix: remove options.model overwrite on bulkUpdate * fix: fix typo in test * fix: make test simpler Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com> Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com> (cherry picked from commit c620469) * fix: adapt test to v6
Pull Request Checklist
Description Of Change
Closes #11364
This is a way that keeps the current behaviour of bulkUpdate while fixing the unexpected behaviour when calling
.update
when there are 2 or more models defined for the same tableTodos