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

[Request] Add support for code-generating a vulcan.Codec #153

Open
Daenyth opened this issue Nov 22, 2021 · 0 comments
Open

[Request] Add support for code-generating a vulcan.Codec #153

Daenyth opened this issue Nov 22, 2021 · 0 comments

Comments

@Daenyth
Copy link

Daenyth commented Nov 22, 2021

It would be very handy for avrohugger to be able to generate a vulcan.Codec - I think it makes sense as an extra module + configuration

vulcan supports deriving a codec from a case class with annotations. One path forward might be to have those annotations generated onto the class.

Another option which might be easier, if it's done as a separate module, is to generated the Codec into some place other than the companion object. It's less ergonomic because it would require import, but it's likely less work to implement

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