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

Option to not generate fields as Optional #5482

Open
esfomeado opened this issue Dec 26, 2024 · 2 comments
Open

Option to not generate fields as Optional #5482

esfomeado opened this issue Dec 26, 2024 · 2 comments
Assignees
Labels
feature Requests for new features. language/java product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages

Comments

@esfomeado
Copy link

Feature Description

Optionals are pain to work with in Java and we already suffer enough on our daily life's.

We should have a option to enable/disable this behaviour.

Proposed Generated Code (Optional)

No response

@esfomeado esfomeado added feature Requests for new features. product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages labels Dec 26, 2024
@dsinghvi
Copy link
Member

@esfomeado what would you prefer instead? Leaving them nullable ?

@esfomeado
Copy link
Author

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Requests for new features. language/java product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages
Development

No branches or pull requests

3 participants