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've had this idea in the back of my mind for a while now, and I wanted to run it here to get your thoughts before spending time on a PR. What do you think of augmenting instanceOf to allow it to take a container key?
This seems (to me) to align nicely with how most other things in Ember work against the resolver rather than using direct imports. I did a quick pass over the existing implementation and I believe this would be pretty simple to implement—if I opened a PR, would you be interested?
The text was updated successfully, but these errors were encountered:
I've had this idea in the back of my mind for a while now, and I wanted to run it here to get your thoughts before spending time on a PR. What do you think of augmenting
instanceOf
to allow it to take a container key?This would allow something like this:
To become:
This seems (to me) to align nicely with how most other things in Ember work against the resolver rather than using direct imports. I did a quick pass over the existing implementation and I believe this would be pretty simple to implement—if I opened a PR, would you be interested?
The text was updated successfully, but these errors were encountered: