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

Use EnumSerializer for explicitly serializable enum instead of auto-generated one #683

Closed
qwwdfsad opened this issue Jan 30, 2020 · 0 comments
Assignees

Comments

@qwwdfsad
Copy link
Member

And inject a customized descriptor (or use generated by EnumSerializer if enum doesn't have customized annotations).

Multiple reasons to do it:

* Less bytecode (not a big deal, in fact)
* Completely **identical** behaviour of `@Serializable enum class Foo { ... }` and `enum class Foo`
* Ability to do fixes, changes and performance optimization on the library level without changes in the plugin
@qwwdfsad qwwdfsad assigned shanshin and unassigned sandwwraith Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants