-
Notifications
You must be signed in to change notification settings - Fork 19
[WIP] Notes on providing extensibility on CoRIM and CoMID
Yogesh Deshpande edited this page Sep 13, 2023
·
2 revisions
- Type extension via a
type-choice
The base CoRIM and CoMID defines a set of types for the element. The type is extensible and hence a new possible type can be added to the set. Alternatively, for a specific implementation (via profile) the extension can reduce the scope of the type, meaning a sub-set of types can be allowed by the element.
- Structure extension. In golang
CDDL Maps
are implemented using structures.
The Veraison base CoRIM and CoMID packages defines the native structure.
A new element which can be a composite element (like structure)
- Modify the data type to
interface
to handle extensibility ( if not already defined as an interface)