Reconsider fallback date formats for ISO variants in DateTimeFormatterRegistrar #28130
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Uh oh!
There was an error while loading. Please reload this page.
spring-boot-starter-webflux-2.6.4
The following controller can take a date in
yyyy-MM-dd
format in a@PostMapping
request without problems, but fails for a@GetMapping
query parameter.Works:
Does not work:
Result:
Why are get and post requests behaving that differently? Shouldn't either both succeed, or both fail?
Update: while I discovered that POST bodies are converted using
jackson
, and GET parameters using Spring Conversation Service, I wonder if it wouldn't be better that both could have the same behavior?The text was updated successfully, but these errors were encountered: