-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create notifications value objects #93
Create notifications value objects #93
Conversation
5f384b5
to
7149449
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also remove file suffixes like .types
and .valueObject
. Although it has a lot of comments, this is a good PR! It's definitely a step up from previous ones. Congrats! :D
libs/atqr/domain/src/lib/valueObjects/notificationLogEntry.valueObject.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolve the comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for one last review.
New Value Objects can exclude properties when comparing identity (e.g. `id`) by adding the string "id" to `excludeFromEquals` inside its constructor
libs/atqr/domain/src/lib/valueObjects/notificationLogEntry.valueObject.ts
Outdated
Show resolved
Hide resolved
libs/atqr/domain/src/lib/valueObjects/notificationLogEntry.valueObject.ts
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
* refactor(valueobject.ts): vO is now updated with documentation details * refactor(notification vos): all notification VOs except TemplateDataType * style(email templates): all email templates are now in "lib/templates/email.ts" n * refactor(notification value objects): notification VO's and concept are updated * docs(notification.ts): comments on calculated props * feat(utils): ✨ add ability to exclude props from ValueObject.equals New Value Objects can exclude properties when comparing identity (e.g. `id`) by adding the string "id" to `excludeFromEquals` inside its constructor * refactor(notification vo's): hash is been used as id * refactor(emailtemplates): emailTemplates folder was retored --------- Co-authored-by: Saulo Vallory <saulo@toki.life>
ForbiddenEmailAddress, Notification and NotificationLogEntry VO's are implemented and email templates are now in lib/templates/email . This change in folders were made to correctly import EmailAddress where it is needed