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
I read through the documentation and I am a little bit confused about Components. It seems like they define injectable resources inside the application and provide a separation of concerns mechanism for complex applications.
It feels like the database should be a component inside this framework. But I am not entirely sure how I can retrieve the component after I added it to the application. Say I have 2/5 commands that need access to the database. How would I provide them the component?
APP doesn't expose components, which was contrary to my expectation.
The text was updated successfully, but these errors were encountered:
I read through the documentation and I am a little bit confused about
Component
s. It seems like they define injectable resources inside the application and provide a separation of concerns mechanism for complex applications.It feels like the database should be a component inside this framework. But I am not entirely sure how I can retrieve the component after I added it to the application. Say I have 2/5 commands that need access to the database. How would I provide them the component?
APP
doesn't expose components, which was contrary to my expectation.The text was updated successfully, but these errors were encountered: