Skip to content

Refactor getFaultStringOrReason to Return Optional and Update JavaDoc #1428

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

Conversation

ThomasLuuu
Copy link

Method Refactor: Changed the getFaultStringOrReason method to return an Optional. This improves handling of absent values and makes the method's contract more explicit.

@snicoll snicoll added the status: waiting-for-triage An issue we've not yet triaged label Feb 19, 2025
@snicoll
Copy link
Member

snicoll commented Mar 5, 2025

Thanks for the proposal but we prefer not to use Optional in framework. code. The change, in particular, is an API breaking change which is a non starter as it is suggested.

@snicoll snicoll closed this Mar 5, 2025
@snicoll snicoll added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants