openapi-spring-webflux-validator icon indicating copy to clipboard operation
openapi-spring-webflux-validator copied to clipboard

Add request to ErrorHandler

Open magro opened this issue 3 years ago • 6 comments

So that the error handler can use information of the request for handling the error, e.g. to log the request uri or some headers.

Note that this is a binary incompatible change (consider to bump the major version)! Reasoning: Trying to achieve this change in a binary compatible manner is considered to be adding too much (unnecessary) code, compared to how easy it is for library users to handle this change. Additionally, only users with a custom error handler would be affected.

magro avatar Jan 07 '22 07:01 magro

Ping @cdimascio 😊

magro avatar Jan 13 '22 22:01 magro

Another ping @cdimascio :wave:

magro avatar Jan 20 '22 07:01 magro

Yet another ping @cdimascio :thinking:

magro avatar Jan 26 '22 20:01 magro

Again, @cdimascio :wave:

magro avatar Feb 01 '22 13:02 magro

Hey @cdimascio, me pinging again :-)

magro avatar Mar 23 '22 07:03 magro

@magro if we make request the last parameter in the list with a default value are we able to maintain backward compatibility?

cdimascio avatar Mar 27 '22 20:03 cdimascio

this is available in the latest version 4.1.0

cdimascio avatar Dec 22 '22 18:12 cdimascio