You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been thinking about how you guys do dependency injection and in your docs on this page https://makoframework.com/docs/9.0/getting-started:dependency-injection you mention contextual injection. It feels like it's important to know, but I don't think I quite understand what the goal of it is.
Is there a real life example that could better explain how it works (for me and others)?
The text was updated successfully, but these errors were encountered:
It's probably the least used feature of the container but it was useful for us when we had two versions on an API while we migrated from Sphinx to Elastic. Both the endpoint controllers required an instance of SearchInterface. One got a SphinxSearch instance while the other got the ElasticSearch instance. It allowed us to run both versions in parallel until Sphinx was replaced.
Hey there,
Been thinking about how you guys do dependency injection and in your docs on this page https://makoframework.com/docs/9.0/getting-started:dependency-injection you mention contextual injection. It feels like it's important to know, but I don't think I quite understand what the goal of it is.
Is there a real life example that could better explain how it works (for me and others)?
The text was updated successfully, but these errors were encountered: