micronaut-core icon indicating copy to clipboard operation
micronaut-core copied to clipboard

Make empty body configurable behaviour

Open CezaryBD opened this issue 9 months ago • 8 comments

Expected Behavior

It should be configurable if fail or pass the response.

Actual Behaviour

https://github.com/micronaut-projects/micronaut-core/commit/ab5c4a244b25113d06378771bd43dfa7db7c29bc#diff-af18b3b8347409fdb81dedda7689f9d13c962d129830818e2dbd4c48770ddecdR151 Line #166. This change introduces a default behaviour that I would prefer to be configurable. An empty body on 200 OK status is not an error :)

Steps To Reproduce

No response

Environment Information

No response

Example Application

https://github.com/CezaryBD/micronaut-reactor-mono-void-bug-01/blob/main/src/test/java/com/example/DemoTest.java

Version

4.3.3

CezaryBD avatar May 08 '24 09:05 CezaryBD