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
@oyvindronningstad Any update on a timeline for this? The spec clearly states that maps must be processed unordered, this makes the ZCBOR generated code incompatible with any other serialization library that is spec compliant, which makes CDDL generation essentially unusable for communication with any other systems that aren't using ZCBOR.
It seems that current code generator is still outputting code that expects map keys in the exact order that they are defined in cddl.
The code generated from this will be a long if statement where the fields are in exact order with && between. So decoding in any order does not work.
Is there a workaround for this?
The text was updated successfully, but these errors were encountered: