orm
orm copied to clipboard
Allow named Arguments to be passed to Dto
Allow to change argument order or use variadic argument in dto constructor.
When Dto implements (empty) interface WithNamedArguments, ObjectHydrator will pass an associated key<>value argument to Dto constructor. Dto can use named arguments or a variadic argument to put values in their properties.
Final Goal (to do after) is to allow select NEW ItemDto(item.*) FROM App\Entity\Item as item
updated with with the nested New operator PR.