-
Notifications
You must be signed in to change notification settings - Fork 96
Add withConjureErrorParameterFormat
option to WithClientOptions
#3192
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
Generate changelog in
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving for RC
client-config/src/main/java/com/palantir/conjure/java/clients/ConjureClients.java
Outdated
Show resolved
Hide resolved
withConjureErrorParameterSerializationFormat
option to WithClientOptions
withConjureErrorParameterFormat
option to WithClientOptions
✅ Successfully generated changelog entry!What happened?Your changelog entries have been stored in the database as part of our migration to ChangelogV3. Need to regenerate?Simply interact with the changelog bot comment again to regenerate these entries. |
|
||
dependencies { | ||
api 'com.palantir.conjure.java.api:service-config' | ||
api 'com.palantir.conjure.java.api:errors' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed because ConjureErrorParameterFormat
is defined in com.palantir.conjure.java.api:errors
.palantir/revapi.yml
Outdated
- code: "java.method.removed" | ||
old: "method T com.palantir.conjure.java.clients.ConjureClients.WithClientOptions<T>::withConjureErrorParameterSerializationFormat(com.palantir.conjure.java.api.errors.ConjureErrorParameterFormat)" | ||
justification: "Adding method to allow clients to request error parameter serialization\ | ||
\ format" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change seems weird?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which part was weird? If it was because the break was on an RC release, that has been fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I might have meant that it was saying a method was removed
e3f7b7b
to
836ccde
Compare
Released 8.25.0 |
Before this PR
I'd like to enable clients to set the desired error parameter format. We currently don't have a method on Dialogue's
ReloadingFactory
to do so.After this PR
==COMMIT_MSG==
Add
withConjureErrorParameterFormat
option toWithClientOptions
==COMMIT_MSG==
Possible downsides?