Closed TimoGlastra closed 3 years ago
It isn't mandatory: leave it out and it will be fine. What it can't be is present with a null value. The standard says it's a string if present, if I remember correctly. I will take a look and adjust it Tuesday if necessary.
ah that makes sense.
I'll also open an issue on the .NET side to not include the property if the value is null
.
Thanks
https://github.com/hyperledger/aries-cloudagent-python/pull/649 allows for null values in protocol message comments.
ACA-Py requires the
comment
property for at least thepropose-credential
andoffer-credential
messages (maybe also other messages / protocols?). However this is not required per the RFC.When interacting with the .NET framework this is now handled using an empty string, but it would be nice to be able to leave the comment out.