-
Notifications
You must be signed in to change notification settings - Fork 4.2k
refactor(api-service): deep merge ts migration #9552
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
base: next
Are you sure you want to change the base?
Conversation
Updated the type of the subscriber variable in update and get preference use cases to Pick<SubscriberEntity, '_id'> for improved type safety and clarity. Adjusted repository method call to only fetch the '_id' field where applicable.
Switched from a local deepMerge utility to the deepmerge-ts package for merging preferences in the upsert-preferences usecase. Added deepmerge-ts as a dependency in package.json to improve maintainability and reliability.
✅ Deploy Preview for dashboard-v2-novu-staging canceled.
|
|
Hey there and thank you for opening this pull request! 👋 We require pull request titles to follow specific formatting rules and it looks like your proposed title needs to be adjusted. Your PR title is: Requirements:
Expected format: Details: PR title must end with 'fixes TICKET-ID' (e.g., 'fixes NOV-123') or include ticket ID in branch name |
This reverts commit 3a038b3.
What changed? Why was the change needed?
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer