with icon indicating copy to clipboard operation
with copied to clipboard

Lens on constructor alias

Open wallymathieu opened this issue 4 years ago • 0 comments

Possible to do the following:

LensBuilder<Sale>.Constructors(new [] { "MK" }).Of (sp => sp.Customer.Name).Build ();

where MK is the constructor method name. Any lenses defined during construction will then fall back on the MK static public method if any to construct entities.

wallymathieu avatar Mar 12 '20 20:03 wallymathieu