Skip to content

Support embedded objects on NativeBeanPropertyMapper #17

@pnowy

Description

@pnowy

It would be good to add support on NativeBeanPropertyMapper for embedded objects.

Let's assume that we have the class ProductDTO with embedded class Category. Currently we could map only simple types. Bean property mapper could fill the categoryId on ProductDTO but doesn't create the category object and fill id inside Category.

This ticket has been created in order to add that kind of support.

We could use specific notation for this in out aliases, something like that:

c.id as category$id

in order to parser know that object should be created.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions