cqrs-domain
Advanced tools
Comparing version 2.14.3 to 2.14.4
@@ -12,2 +12,6 @@ var definitions = { | ||
CommandHandler: require('./../definitions/commandHandler'), | ||
errors: { | ||
BusinessRuleError: require('../errors/businessRuleError'), | ||
ValidationError: require('../errors/validationError'), | ||
} | ||
} | ||
@@ -14,0 +18,0 @@ |
{ | ||
"author": "adrai", | ||
"name": "cqrs-domain", | ||
"version": "2.14.3", | ||
"version": "2.14.4", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -267,3 +267,3 @@ | ||
// options will contain a the domainPath, validatorExtension, and useLoaderExtensions options passed to the constructor | ||
// as well as a definition object containing all the constructors of the domain components ( Context, Aggregate etc. ) | ||
// as well as a definition object containing all the constructors of the domain components ( Context, Aggregate etc. ) and error constructors ( inside errors ) | ||
function myCustomLoader(options) { | ||
@@ -270,0 +270,0 @@ return { |
@@ -0,1 +1,4 @@ | ||
## [v2.14.4](https://github.com/adrai/node-cqrs-domain/compare/v2.14.3...v2.14.4) | ||
- pass error constructors to customLoader | ||
## [v2.14.3](https://github.com/adrai/node-cqrs-domain/compare/v2.14.2...v2.14.3) | ||
@@ -2,0 +5,0 @@ - update node-eventstore dependency |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
286366
6625