Closed
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
The Deprecator currently only allows to detect deprecated Parse Server Options. It is not possible to manage deprecations that are only detectable at run-time.
Feature / Enhancement Description
Extend the Deprecator to handle run-time deprecations.
It was expected that the deprecator will need to be extended to accommodate this scenario. The concept of the deprecator is to define deprecations centrally and compose the deprecation warning messages in a unified style, which is easy for Parse Server Options. For deprecations that are detected "in-code" or only at runtime we want to avoid spreading deprecation definitions all over the place that are difficult to manage, maintain and identify.
Example Use Case
Log deprecation warning in #7339
Alternatives / Workarounds
- Not phasing in run-time deprecations (violation of Deprecation Policy)
- Write warning messages in-code (goes against the concept of adding deprecations in an easily manageable, unified way)
3rd Party References
n/a