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
If a component being instantiated with a new expression has a unlocked-dep or locked-dep import and the import has not been satisfied by an argument to the new expression, wac should implicitly resolve and instantiate a (shared) instance of the dependency and project into its exports, passing the result as the argument.
Then foo:[email protected] should get resolved and instantiated, f should be aliased from the export, and the alias passed in as the argument for unlocked-dep=<foo:bar/[email protected]>.
The instantiated dependency would either have all of its imports satisfied by implicit imports or by recursively instantiated dependencies for any unlocked-dep and locked-dep imports.
It would be an error if the (transitive) dependencies fail to resolve.
The text was updated successfully, but these errors were encountered:
If a component being instantiated with a new expression has a
unlocked-dep
orlocked-dep
import and the import has not been satisfied by an argument to the new expression,wac
should implicitly resolve and instantiate a (shared) instance of the dependency and project into its exports, passing the result as the argument.Example:
Package
foo:bar
:Package
bar:baz
:Composition:
Then
foo:[email protected]
should get resolved and instantiated,f
should be aliased from the export, and the alias passed in as the argument forunlocked-dep=<foo:bar/[email protected]>
.The instantiated dependency would either have all of its imports satisfied by implicit imports or by recursively instantiated dependencies for any
unlocked-dep
andlocked-dep
imports.It would be an error if the (transitive) dependencies fail to resolve.
The text was updated successfully, but these errors were encountered: