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

Make AbstractClientUpdateModel implement ClientWriteModel #1598

Conversation

stIncMale
Copy link
Member

@stIncMale stIncMale commented Jan 9, 2025

@stIncMale stIncMale requested a review from vbabanin January 9, 2025 08:21
@stIncMale stIncMale self-assigned this Jan 9, 2025
@@ -26,7 +26,7 @@
/**
* This class is not part of the public API and may be removed or changed at any time.
*/
public abstract class AbstractClientUpdateModel<O extends AbstractClientUpdateOptions> {
public abstract class AbstractClientUpdateModel<O extends AbstractClientUpdateOptions> implements ClientWriteModel {
Copy link
Member Author

Choose a reason for hiding this comment

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

AbstractClientDeleteModel does this, so should AbstractClientUpdateModel. This way it's much easier to explore the type hierarchy from ClientWriteModel down to concrete types.

@stIncMale stIncMale merged commit 6e2ce8c into mongodb:JAVA-4586_bulk-write Jan 9, 2025
51 of 60 checks passed
@stIncMale stIncMale deleted the JAVA-4586_bulk-write_make-AbstractClientUpdateModel-implement-ClientWriteModel branch January 9, 2025 16:33
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