Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust cbor_types() for unknowable conditions #233

Open
rooooooooob opened this issue Apr 26, 2024 · 1 comment
Open

Adjust cbor_types() for unknowable conditions #233

rooooooooob opened this issue Apr 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rooooooooob
Copy link
Collaborator

rooooooooob commented Apr 26, 2024

e..g extern types, custom serialization, etc

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

@rooooooooob rooooooooob added the bug Something isn't working label Apr 26, 2024
@rooooooooob
Copy link
Collaborator Author

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
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant