Skip to content

Implement __eq__ for validators#8925

Merged
auvipy merged 2 commits intoencode:masterfrom
max-muoto:implement-equality-for-validators
Apr 9, 2023
Merged

Implement __eq__ for validators#8925
auvipy merged 2 commits intoencode:masterfrom
max-muoto:implement-equality-for-validators

Conversation

@max-muoto
Copy link
Copy Markdown
Contributor

Note: Before submitting this pull request, please review our contributing guidelines.

Description

Implement equality operator for validators and add test coverage.

Fixes #8905.

@max-muoto max-muoto marked this pull request as ready for review April 2, 2023 21:13
@auvipy auvipy self-requested a review April 3, 2023 07:15
@auvipy auvipy added this to the 3.15 milestone Apr 8, 2023
Copy link
Copy Markdown
Collaborator

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

should we find any place for documentation improvement?

@max-muoto
Copy link
Copy Markdown
Contributor Author

should we find any place for documentation improvement?

I added a sentence on the fact that they implement __eq__ like their Django counterparts in the validation documentation if that suffices. Let me know what you think.

@auvipy auvipy merged commit 0d6ef03 into encode:master Apr 9, 2023
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.

Validators do not implement __eq__ method

2 participants