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

Delegate equals comparison in Record to Field #1976

Merged
merged 2 commits into from
Nov 27, 2019
Merged

Conversation

eltimn
Copy link
Member

@eltimn eltimn commented Oct 15, 2019

Fixes #1975

Copy link
Member

@farmdawgnation farmdawgnation left a comment

Choose a reason for hiding this comment

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

LGTM overall, and I'm pretty sure this is backward compatible.

@@ -57,6 +57,7 @@ trait BsonRecord[MyType <: BsonRecord[MyType]] extends Record[MyType] {
/**
* Pattern.equals doesn't work properly so it needs a special check. If you use PatternField, be sure to override equals with this.
*/
@deprecated("PatternField now has a properly functioning `equals` method.", "3.4.0")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@deprecated("PatternField now has a properly functioning `equals` method.", "3.4.0")
@deprecated("PatternField now has a properly functioning `equals` method.", "3.4.1")

@eltimn
Copy link
Member Author

eltimn commented Nov 26, 2019

Uh, I just noticed that commit suggestion button. I haven't used that yet. Looks really handy.

@farmdawgnation farmdawgnation merged commit 7979dd8 into master Nov 27, 2019
@farmdawgnation farmdawgnation deleted the tcn_issue_1975 branch November 27, 2019 22:24
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.

Delegate equals comparison in Record to Field
2 participants