parse-server
parse-server copied to clipboard
Add deprecation ID to deprecation log message
New Feature / Enhancement Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am not just asking a question.
- [x] I have searched through existing issues.
Current Limitation
There is currently no logic link between a deprecation log message and the corresponding deprecation in the deprecations table.
Feature / Enhancement Description
Add the deprecation ID to the deprecator, for example:
Deprecator.logRuntimeDeprecation({
usage: 'Doing abc',
solution: 'Use xyz instead.',
id: '123',
});
Should result in a log message:
DeprecationWarning: (DEPPS123) Doing abc is deprecated and will be removed in a future version. Use xyz instead.
Example Use Case
n/a
Alternatives / Workarounds
n/a
3rd Party References
n/a
Thanks for opening this issue!
- 🎉 We are excited about your ideas for improvement!