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

Implement Hashable protocol for data classes #116

Open
X1nto opened this issue Oct 4, 2024 · 0 comments
Open

Implement Hashable protocol for data classes #116

X1nto opened this issue Oct 4, 2024 · 0 comments

Comments

@X1nto
Copy link

X1nto commented Oct 4, 2024

Since data classes already provide hashValue(), it would make sense for the Swift side to conform data classes to the Hashable protocol automatically. This would make using the data classes in SwiftUI views such as List much easier without specifying the id. This probably isn't very hard to do and I'd be more than happy to PR, but you don't seem to accept PRs due to internal unit tests.

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

No branches or pull requests

1 participant