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

feat: Enums in JVM #2842

Merged
merged 39 commits into from
Oct 9, 2024
Merged

feat: Enums in JVM #2842

merged 39 commits into from
Oct 9, 2024

Conversation

tomdaffurn
Copy link
Contributor

@tomdaffurn tomdaffurn commented Sep 26, 2024

For #2514

Tasks:

  • Test cases for all enum variants
  • Generate Java classes for enums in schema
  • Serialize/deserialise enums for JVM verb server
  • Serialize/deserialise enums for JVM verb clients
  • Generate schema for enums in Java code
  • Generate schema a nd classes for enums in Kotlin code Implement Enums in Kotlin #3062
  • Update comment extraction code to include enums Update Java comment extraction for Enums #3061

@github-actions github-actions bot changed the title Enums in JVM feat: Enums in JVM Sep 26, 2024
This was referenced Sep 26, 2024
@tomdaffurn tomdaffurn marked this pull request as ready for review October 8, 2024 08:03
@tomdaffurn tomdaffurn requested review from a team as code owners October 8, 2024 08:03
@tomdaffurn tomdaffurn requested review from tlongwell-block and worstell and removed request for a team October 8, 2024 08:03
Copy link
Collaborator

@stuartwdouglas stuartwdouglas left a 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.


@Enum
public interface Animal {
@JsonIgnore
Copy link
Collaborator

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.

Copy link
Contributor Author

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

@tomdaffurn tomdaffurn merged commit b0465e3 into main Oct 9, 2024
95 checks passed
@tomdaffurn tomdaffurn deleted the tom/jvm-enum-extract branch October 9, 2024 23:46
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

Successfully merging this pull request may close these issues.

2 participants