Black Tuesday
Adds Transform
to support prototype-matching definition of SObjectToSobject
functions. Put simply,
Opportunity prototype = new Opportunity(Name = 'Test')
Collection.of(opps).mapAll(Transform.record(prototype));
will copy all defined field values on the provided prototype
to records in collection, overwriting any existing values for those fields. Other fields will not be touched.