[FEATURE ember-module-unification] Initial implementation #15368
To support module unification, we must modify the container and registry to pass the source as second parameter to the resolver. This PR introduces a new feature flag called
I'll follow up with some PRs in the
When the feature flag is on, this change breaks two tests related to
mixonic left a comment
Left comments for a few minor items. The testing and feature flag stuff can be improved but the functionality here looks good at a glance. Please do cross-link to the PRs and issues elsewhere.
mixonic left a comment •
Talked with @dgeb, and I think this psuedo code would be correct for us to ensure we get the higher precedence for local/private lookups over global when resolving a pair of things: