-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Enums in JVM #2842
feat: Enums in JVM #2842
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except for the logging changes.
...tl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/DatasourceProcessor.java
Outdated
Show resolved
Hide resolved
...time/ftl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/EnumProcessor.java
Outdated
Show resolved
Hide resolved
...e/ftl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/JVMCodeGenerator.java
Outdated
Show resolved
Hide resolved
...me/ftl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/ModuleProcessor.java
Outdated
Show resolved
Hide resolved
|
||
@Enum | ||
public interface Animal { | ||
@JsonIgnore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we can eventually remove the need for these annotations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, maybe we can customise the serialisation further to ignore them
For #2514
Tasks:
Generate schema a nd classes for enums in Kotlin codeImplement Enums in Kotlin #3062Update comment extraction code to include enumsUpdate Java comment extraction for Enums #3061