This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
1.3.0
Improved UnitOfWork development experience
UnitOfWorkResult.success
property to identify successful vs. unsuccessful responses- Subclasses returned by
UnitOfWork.commit()
differentiated by new.success
property:UnitOfWorkSuccessResponse
&UnitOfWorkErrorResponse
- New
UnitOfWorkErrorResponse.rootCause: UnitOfWorkResult
property that should have a useful root-cause error.message
, also logged atwarn
level automatically if unsuccessful - UoW
.registerNew(...)
,.registerModified(...)
, and.registerDeleted(...)
now returnthis
to allow for method chaining. SObject.withValue(k,v)
returnsthis
to allow for method chaining.