You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In practice these newtypes aren't very convenient though, because I end up converting between Uuid and Id pretty often. I was wondering if it might be useful to upstream this directly onto Uuid, like the optional serde feature?
I'd be happy to submit a PR if there's any interest in this.
The text was updated successfully, but these errors were encountered:
Hi! 👋
I'm serializing some types using borsh but I can't implement traits like
BorshSerialize
andBorshDeserialize
directly onUuid
types.Currently I workaround this by using a newtype that implements those traits (using the
u128
representation for borsh), likeIn practice these newtypes aren't very convenient though, because I end up converting between
Uuid
andId
pretty often. I was wondering if it might be useful to upstream this directly ontoUuid
, like the optionalserde
feature?I'd be happy to submit a PR if there's any interest in this.
The text was updated successfully, but these errors were encountered: