Closed qwandor closed 2 years ago
I would take a PR for it on the next
branch.
I've sent a PR for Eq
.
It turns out Clone
is more difficult, because serde_json::Error
doesn't implement Clone
. I can see two ways around this:
serde_json::Error
to a String
and just wrap that instead. This would lose the ability to convert back to the serde_json
type or get whatever other information it has.Arc
. I'm inclined to go with this option.I've gone ahead and gone the Arc
route, I think it's a reasonable workaround.
It would be helpful if
jsonwebtoken::error::Error
implementedClone
andEq
.