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 request models derive PartialEq, Eq, and Hash #4443

Merged
merged 2 commits into from
Feb 11, 2024
Merged

Conversation

SleeplessOne1917
Copy link
Member

While using the lemmy client I made recently, I ran into some issues invalidating state to make new API requests. Adding these 3 derives fixes this. I only added them to types that are used in requests, so I didn't have to mess around with the DB models.

Since this library is public facing, adding these derives should benefit more consumers than just me.

@SleeplessOne1917 SleeplessOne1917 merged commit 300869d into main Feb 11, 2024
2 checks passed
@SleeplessOne1917 SleeplessOne1917 deleted the request-hash branch February 11, 2024 05:32
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.

None yet

2 participants