with
with copied to clipboard
Lens on constructor alias
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.