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
Indeed, and yes you're right a OneOrMany would suffice. But that would make a breaking change, so I would recommend changing the deserialisation to accept a single value with https://docs.rs/serde_with/latest/serde_with/struct.OneOrMany.html. Would you like to open a PR with said change?
According to the https://www.w3.org/TR/vc-data-model/#terms-of-use
termsOfUse property MUST specify one or more terms
, but in the code https://github.com/spruceid/ssi/blob/main/ssi-vc/src/lib.rs#L76 it is represented exactly asVec
. MaybeOneOrMany
type is more appropriate in this case?The text was updated successfully, but these errors were encountered: