chridou / http-api-problem

A problem type to be returned by HTTP APIs
Apache License 2.0
53 stars 12 forks source link

Feature/provide PartialEq and Eq derives for the HttpApiProblem struct #48

Closed awaltert closed 1 year ago

awaltert commented 1 year ago

Hi @chridou,

we want to use this crate for our projects and stumbled over a tiny limitation. We need the ability to compare HttpApiProblem structs. The current implementation provides a PartialEq and Eq derive for the testing profile. I suggest providing those two derives in general as this would also make it usable for other use cases.

Changes:

Looking forward!