We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
data
Java enum classes are turned into schema type data. Special handling is needed to detect Enums as distinct from Classes:
https://github.com/TBD54566975/ftl/blob/06a05f540f0735958c4839a9ebce1b71cdbb6eb4/jvm-runtime/ftl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/ModuleBuilder.java#L296
Should use info.isEnum()
info.isEnum()
The text was updated successfully, but these errors were encountered:
There is an issue about adding support for enums here: #2514
Sorry, something went wrong.
Dupe of #2514
tomdaffurn
No branches or pull requests
Java enum classes are turned into schema type
data
. Special handling is needed to detect Enums as distinct from Classes:https://github.com/TBD54566975/ftl/blob/06a05f540f0735958c4839a9ebce1b71cdbb6eb4/jvm-runtime/ftl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/ModuleBuilder.java#L296
Should use
info.isEnum()
The text was updated successfully, but these errors were encountered: