-
Notifications
You must be signed in to change notification settings - Fork 73
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
cf83376
to
f53fa31
Compare
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
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
15978c2
to
73984fe
Compare
hectorgomezv
approved these changes
Nov 7, 2024
iamacook
approved these changes
Nov 8, 2024
037b635
to
e6128ff
Compare
855d848
to
156d8e4
Compare
iamacook
approved these changes
Nov 26, 2024
…rated to TypeORM.
…tests after enabling V2
…tionNotificationTypes
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