-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
If we need to apply several mutations one by one to an entity and we don't need any intermediate
results, it would be good if we can achieve it by creating only 1 new instance of entity:
Now:
var tempDevice = _remute.With(deviceRecord, x => x.EndpointArn, endpointArn);
var updatedDevice = _remute.With(tempDevice, x => x.DeviceName, deviceName);
Want to:
var updatedDevice = _remute.With(deviceRecord, x => x.EndpointArn, endpointArn)
.With(x => x.DeviceName, deviceName);
Metadata
Metadata
Assignees
Labels
No labels