-
Notifications
You must be signed in to change notification settings - Fork 27.4k
feat($compile): show module name during multidir error #11829
Conversation
Looks good to me :-) |
I see this as a real issue, but there are a few things that needs some cleanup.
All this a side, I think this solves a real struggle |
Sorry guys for the delay in response. Unfortunately I've caught some illness which didn't let me do anything. |
@lugovsky I like the path that akveoDev@6eb899e is going. In fact if this would be added strait to |
@lgalfaso Did I got you correctly and you wish to add that code straight to invokeLater, so every factory/service/provider/decorator/animation/filter/controller (except config/constant/value) has string representing module in which it was defined as well? Do you want to provide additional extensibility for those recipies in the future? |
@lugovsky yes, and yes. The later is to show in the error the module when a dependency is not fulfill. Just to be sure, I would like to keep the current scope of this PR. In the future (PR welcome) showing the module when a dependency is not fulfill would be nice. |
Show module name if possible when multidir error happens. Closes angular#11775
b4de9ed
to
b370b7e
Compare
@lgalfaso Made updates according to our discussion. I like it much more this way actually :). Please make another review and suggest new changes if any. If you want me to handle showing the module when a dependency is not fulfilled, please create or find the issue with the appropriate description :). Honestly, I haven't got the idea. But anyway I will be glad to help you with this problem! |
LGTM, will merge after the cut |
@lgalfaso Awesome, thanks! PS: If you need help with that problem when dependency is not fulfilled, just create the issue after the merge and reference me. I will be happy to help :) |
landed as 351fe4b |
Show module name if possible when multidir error happens.
Closes #11775
P.S. Hey guys, please check out this solution. Let me know if the way I implemented it looks correct at least from afar.
Honestly, I've spent a lot of time trying to understand the way, that affects core functionality as less as possible and I think that's it. But if you see some another solution, I will be glad to hear that.
In case you think that these changes are critical and this feature doesn't worth it, I'm ready to this as well :).