Skip to content

Commit

Permalink
update blueprint merging logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bibekgg authored Nov 15, 2022
1 parent b75ce37 commit 2376c48
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ export class AbstractValidationDirective implements OnDestroy {
get blueprints(): Validation.Blueprints {
return {
...BLUEPRINTS,
...(this._blueprints || this.parent.blueprints || this.config.blueprints || {}),
...(this.config.blueprints || {}),
...(this.parent.blueprints || {}),
...(this._blueprints || {}),
};
}

Expand Down

0 comments on commit 2376c48

Please sign in to comment.