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

Feature request: Allow selecting which constructor to make a codec for #2

Open
gigaherz opened this issue Dec 26, 2023 · 0 comments
Open

Comments

@gigaherz
Copy link

If I understand correctly, Codec Builder looks for a constructor, and then looks for fields/getters matching that constructor. However if the class also has an empty constructor, it will generate a unit codec instead.
It would be nice if there was a way to select which constructor it should use for making the codec. Some popup or something, similar to the "generate override" dialog? Maybe asking for too much. :P

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