conjure-java
conjure-java copied to clipboard
Make 'RequireNotNullAuthAndBodyParams' enabled by default
This feature flag was introduced in https://github.com/palantir/conjure-java/pull/38 as a way of doing a gradual rollout. Once we've validated a few repos can use this successfully, this flag should be removed and the functionality enabled by default.
@fscreene I've tagged 2.0.0-rc2 which includes this functionality, can you echo back when you've got it working happily on one of your repos?
Will do, planning to get this tried out this week.
When are we going to do this? Hit a bug related to this where a null auth header was propagate across services, causing the first service to throw 500 instead of 400 (since http error codes are no longer propagated automatically).
Turned on this feature for a bunch of services, but would be nice to get it by default
We have received feedback that silently changing defaults causes unnecessary dev pain, so I think the approach would be to roll out an excavator that just opts people into this new feature flag.
Then in a major version we can switch this on by default.