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

Define equality for Process::Status and OAuth::RequestToken #13014

Merged

Conversation

HertzDevil
Copy link
Contributor

In #8226 it was agreed that these two types are value objects and would have been structs if doing so didn't produce a breaking change. This PR implements a weaker alternative where #== and #hash respect value equality for different instances.

@straight-shoota straight-shoota added this to the 1.8.0 milestone Jan 27, 2023
@straight-shoota straight-shoota merged commit b6c49c4 into crystal-lang:master Jan 28, 2023
@HertzDevil HertzDevil deleted the feature/value-like-equality branch January 31, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants