-
Notifications
You must be signed in to change notification settings - Fork 2k
fix: Builder insert()/update() does not accept an object #6216
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: Builder insert()/update() does not accept an object #6216
Conversation
32c1ffc to
73e86f8
Compare
73e86f8 to
8a63886
Compare
|
Added changelog. |
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.
We've gotten very lenient with breaking changes. This is out of sync with the User Guide but is at actual risk of breaking any method extensions. I would like more of the team to sign off on this.
My opinion: extensions of the BaseBuilder should be implementing _insert() so insert() is unlikely to be extended (and could probably be final at some point). Developers extending this should be doing rather advanced work and able to cope with this change. Given these points I am in favor.
michalsn
left a comment
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 is more like a bug fix that will accidentally introduce a breaking change for some rare cases, but I have no problem with that. It's not like we woke up one day and said
Hey, this method should also support objects.
The behavior was documented before and was there even in v3, so from my perspective everything is fine.
|
Thanks for the feedback all! @kenjis I think we're good unless you have more thoughts. |
Description
Fixes #6210
Checklist: