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

Add excludeDeprecated option to client codegen #2163

Merged
merged 4 commits into from
Mar 22, 2024

Conversation

jeejeeone
Copy link
Contributor

@jeejeeone jeejeeone commented Mar 15, 2024

Add excludeDeprecated option to client codegen, when enabled excludes deprecated fields and enum values. Resolves #645

Note: not quite sure about codegen-sbt part 🔢

@jeejeeone
Copy link
Contributor Author

Just realised there is #1253 which relates to this since you can have enum with only deprecated fields + same applies for type. Perhaps it's enough to generate compiling code in these cases?

Copy link
Owner

@ghostdogpr ghostdogpr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

vuepress/docs/docs/client-codegen.md Outdated Show resolved Hide resolved
@ghostdogpr ghostdogpr merged commit ceaad5b into ghostdogpr:series/2.x Mar 22, 2024
10 checks passed
@ghostdogpr
Copy link
Owner

Thanks!

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.

Add an option to codegen for including deprecated fields
2 participants