-
Notifications
You must be signed in to change notification settings - Fork 31
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
api: Create deletedAt field on assets #1686
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## master #1686 +/- ##
===================================================
+ Coverage 52.93878% 53.02876% +0.08998%
===================================================
Files 74 74
Lines 4900 4903 +3
Branches 972 976 +4
===================================================
+ Hits 2594 2600 +6
+ Misses 1972 1970 -2
+ Partials 334 333 -1
Continue to review full report in Codecov by Sentry.
|
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.
LGTM. Added one super nit comment.
One more general comment, I think this PR both adds new functionality (deletedAt
), but also does some refactoring. I think it'd be better to split it into a separate refactoring PR in the future. Simpler to review (and rollback if needed).
It just feels like a sibling of the deleted field
b9efac9
to
c5141a9
Compare
What does this pull request do? Explain your changes. (required)
This is to create a new deletedAt field on assets for us to use in our own billing and monitoring.
It will be updated once the asset is deleted, and we will also send the corresponding webhooks
from that operation.
Specific updates (required)
How did you test each of these updates (required)
✅
yarn test
Does this pull request close any open issues?
Implements DAT-80
Checklist