Support nested Java records for AbstractNestablePropertyAccessor #28996
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: superseded
An issue that has been superseded by another
type: enhancement
A general enhancement
Affects: 6.0.0.M5 (but also 5.x)
I'm trying to get an immutable representation of the query parameters in my
@RestController
, like this:For single-level query params this works as expected:
GET /foo?s=xyz
But as soon as I try to set
b.i
usingGET /foo?b.i=42
it will throw an exception, because AbstractNestablePropertyAccessor is looking for a default constructor:Thanks for your help!
The text was updated successfully, but these errors were encountered: