-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type Providers #3
Comments
Adding the latest syntax proposal here, which I believe is:
I still think we should assume |
Agreed on qualifying the name with I've created #5 for the change to the |
Proposal - Type Providers
Motivation
Type Providers
The current resource decleration syntax that has been specced looks like:
We've got a jumble of identifiers and strings, and it's hard to follow what each token is doing. There's also a lot of repetition when multiple resources are being deployed, and the identifier that ends up being assigned is at the end of the line.
Proposal
Declare the imported providers at the top of the file (similar to a JS/TS import):
Consume the provider as follows:
:
after the imported provider type helps clarify what is the identifier. Note that we may need to pick a different symbol if this clashes with other uses of:
. This should also give us a better chance at IDE completion.azrm
token to be included.Notes
The text was updated successfully, but these errors were encountered: