-
Notifications
You must be signed in to change notification settings - Fork 71
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
Notification migration #2063
Merged
Merged
Notification migration #2063
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PooyaRaki
force-pushed
the
notificationMigration
branch
from
October 27, 2024 17:16
cf83376
to
f53fa31
Compare
PooyaRaki
force-pushed
the
notificationMigration
branch
4 times, most recently
from
November 4, 2024 12:07
19e7c42
to
a28bfab
Compare
iamacook
reviewed
Nov 4, 2024
src/datasources/notifications/entities/__tests__/notification-devices.entity.db.builder.ts
Show resolved
Hide resolved
src/datasources/notifications/entities/__tests__/notification-subscription.entity.db.builder.ts
Show resolved
Hide resolved
src/datasources/notifications/entities/__tests__/notification-subscription.entity.db.builder.ts
Outdated
Show resolved
Hide resolved
src/datasources/notifications/entities/__tests__/notification-subscription.entity.db.builder.ts
Show resolved
Hide resolved
src/datasources/notifications/entities/notification-devices.entity.db.ts
Outdated
Show resolved
Hide resolved
src/routes/notifications/v2/entities/upsert-subscriptions.dto.entity.ts
Outdated
Show resolved
Hide resolved
iamacook
approved these changes
Nov 6, 2024
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.
All of my comments can be tackled in a follow up as they are validation focused. I would suggest we add schema tests for those implemented here as well.
src/datasources/notifications/entities/__tests__/notification-devices.entity.db.builder.ts
Show resolved
Hide resolved
src/datasources/notifications/entities/__tests__/notification-subscription.entity.db.builder.ts
Show resolved
Hide resolved
src/datasources/notifications/entities/notification-devices.entity.db.ts
Outdated
Show resolved
Hide resolved
src/datasources/notifications/entities/notification-subscription.entity.db.ts
Outdated
Show resolved
Hide resolved
src/datasources/notifications/entities/notification-devices.entity.db.ts
Outdated
Show resolved
Hide resolved
src/domain/notifications/v2/notifications.repository.integration.spec.ts
Show resolved
Hide resolved
PooyaRaki
force-pushed
the
notificationMigration
branch
from
November 6, 2024 11:43
bb16bc1
to
5fc9e0b
Compare
hectorgomezv
reviewed
Nov 6, 2024
src/domain/notifications/v2/test.notification.repository.interface.ts
Outdated
Show resolved
Hide resolved
src/routes/notifications/v1/entities/__tests__/safe-registration.builder.ts
Show resolved
Hide resolved
src/routes/notifications/v1/entities/__tests__/register-device.dto.builder.ts
Show resolved
Hide resolved
PooyaRaki
force-pushed
the
notificationMigration
branch
from
November 7, 2024 08:56
15978c2
to
73984fe
Compare
hectorgomezv
approved these changes
Nov 7, 2024
iamacook
approved these changes
Nov 8, 2024
PooyaRaki
force-pushed
the
notificationMigration
branch
from
November 8, 2024 11:12
037b635
to
e6128ff
Compare
PooyaRaki
force-pushed
the
notificationMigration
branch
from
November 25, 2024 10:23
855d848
to
156d8e4
Compare
iamacook
approved these changes
Nov 26, 2024
…rated to TypeORM.
…tests after enabling V2
…tionNotificationTypes
PooyaRaki
force-pushed
the
notificationMigration
branch
from
December 5, 2024 10:38
5e5999d
to
bdf9a89
Compare
iamacook
approved these changes
Dec 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Add compatibility between Notification V1 and Notification V2. Integrate Notification V2 methods into Notification V1 to begin populating the database in advance of the data migration, ensuring clients can transition to V2 seamlessly without any changes on their end.
Changes