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(java): Implement global timeout configuration for generated clients. #5472

Merged
merged 8 commits into from
Dec 23, 2024

Conversation

eyw520
Copy link
Member

@eyw520 eyw520 commented Dec 23, 2024

Description

Support timeout configuration in Java client builder.

Changes Made

  • Edit ClientOptionsGenerator to support timeout method in generated ClientOptions.
  • Edit RootClientGenerator to support timeout method during ClientOptions build.

Testing

  • Unit tests added/updated
  • Manual testing completed

@eyw520 eyw520 requested a review from dsinghvi as a code owner December 23, 2024 20:09
@dsinghvi
Copy link
Member

Once you regenerate the seed snapshots, itll be easy to verify but this looks right to me!

Copy link

github-actions bot commented Dec 23, 2024

@eyw520 eyw520 requested a review from dsinghvi December 23, 2024 21:42
Copy link
Member

@dsinghvi dsinghvi left a comment

Choose a reason for hiding this comment

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

Overall looks great, approved with some tiny comments

@eyw520 eyw520 merged commit 2359122 into main Dec 23, 2024
55 checks passed
@eyw520 eyw520 deleted the eden/java-global-timeout-config branch December 23, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants