Open
Description
Deprecate the current inflectors feature in favor of a more flexible and expressive hooks system.
While inflectors provide a way to apply modifications to resolved objects based on their type, the hooks approach generalises this concept, enabling users to attach custom logic at various lifecycle events such as on definition, before resolution, and after resolution.
This change will make the container’s extension points clearer and more powerful, supporting a wider range of use cases and aligning with common extensibility patterns seen in other modern frameworks.
Existing inflector functionality will continue to work during the deprecation period, but users are encouraged to migrate to the new hooks system once it becomes available.