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

Enum argument types can not be serialized #5

Open
haykam821 opened this issue Jan 31, 2021 · 0 comments
Open

Enum argument types can not be serialized #5

haykam821 opened this issue Jan 31, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@haykam821
Copy link
Contributor

Although the multiblock argument type can use the constant argument serializer (and were registered in #4), the enum argument type is based on an enum. It is a bad idea to serialize an enum, which is why literals are typically used instead. This argument type should be deprecated and the commands which use it updated to simply use literals instead.

@UpcraftLP UpcraftLP added the enhancement New feature or request label Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants