-
Notifications
You must be signed in to change notification settings - Fork 30
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
[Maintenance] fixing budget migration #4644
Conversation
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.
🚀
Codecov Report
@@ Coverage Diff @@
## main #4644 +/- ##
==========================================
- Coverage 94.32% 87.95% -6.37%
==========================================
Files 277 274 -3
Lines 8808 8603 -205
Branches 1773 1773
==========================================
- Hits 8308 7567 -741
- Misses 476 998 +522
- Partials 24 38 +14
... and 25 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
{ _id: apd.budget }, | ||
{ ...budget } | ||
{ ...budget, __t: BUDGET_TYPE[apdType] } |
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.
is this why it is/was failing?
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.
I think so because I think it wasn't properly setting the discrimination so it was only saving what is in the base budget
This deploy was cleaned up. |
Resolves budget migration issue
Description
I changed up the migration so that it does HITECH and MMIS separately because it seems to be having an issue setting the correct discriminator. I also changed the discriminators in the schemas to use constants.
This pull request is ready to code review when
tests, refactor
This pull request is ready to test when