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

Add guidance for CBOR converter source generation #70

Open
peteroupc opened this issue Oct 21, 2023 · 0 comments
Open

Add guidance for CBOR converter source generation #70

peteroupc opened this issue Oct 21, 2023 · 0 comments

Comments

@peteroupc
Copy link
Owner

peteroupc commented Oct 21, 2023

The interfaces ICBORConverter<T> and ICBORToFromConverter<T> offer a high level of customization on how CBOR objects can be serialized to and from .NET objects. Given that source generators allow an application to avoid reflection and enable self-package applications, add one or more documents giving guidance on generating source code for classes that implement ICBORConverter<T> and ICBORToFromConverter<T>. Such guidance is useful even for the current version of the CBOR library. For an example, see the JSON case.

I am aware of this technique being used in a third-party library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant