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
In the pre-release version of Concerto v3 we use from to mean different things:
// Meaning "from" a namespace"
import { Foo, Bar } from [email protected].
// Meaning "from" a URI
import [email protected] from github://path/to/file.cto
This has the effect of restricting the selective imports available for external dependencies, i.e. the following is not possible today.
import { Foo, Bar } from [email protected] from github://path/to/file.cto
I propose that we change the syntax in Concerto v3 to improve the semantics of the keywords and standardise on import syntax.
Discussion 🗣
In the pre-release version of Concerto v3 we use
from
to mean different things:This has the effect of restricting the selective imports available for external dependencies, i.e. the following is not possible today.
I propose that we change the syntax in Concerto v3 to improve the semantics of the keywords and standardise on import syntax.
Some ideas:
This issue could be tackled alongside #480.
The text was updated successfully, but these errors were encountered: