Skip to content

Adjust cbor_types() for unknowable conditions #233

Open

Description

@rooooooooob

e..g extern types, custom serialization, etc

not done right now as it impacts both #228 and #234

Activity

  1. rooooooooob commented on Apr 26, 2024

    @rooooooooob
    ContributorAuthor

    Possibly break @custom_serialize into two categories: one which respects the CBOR type, and one that is 100% arbitrary.

    It would be nice to be able to specify this for __CDDL_CODEGEN_EXTERN_TYPE__ too. Right now we have to provide dummy definitions in a separate dependency folder then delete them after instead of using __CDDL_CODEGEN_EXTERN_TYPE__ when the type is either a basic group OR it is a primitive. We still use it for fully-contained types (i.e. ones that contain their encoding information and are just regular structs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions