-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Hey @lisicky ! thanks for all the work you guys are putting for Chang HF. I'm updating GC using tag 12.0.0-beta.7 as time is running out.
Specifically wanted to ask about:
- CSL now doesn't serialize empty collections for most witness types, in accordance with CDDL.
Can you provide backwards compatibility with those classes keeping the old behavior maybe using a property flag or some other idea?
Apps and even libraries built on top of CSL may break, past flexibility of the library encouraged us to serialize structures beyond direct protocol usage, for example for exportable witness containers for multisig. By using CSL one avoids reinventing the wheel and dealing with similar CBOR manually, also this means less external dependencies.
In general terms regarding backwards compatibility, maybe classes (data) could remain flexible but methods consuming them could apply rules and restrictions internally?
Thanks for the hard work!