Skip to content
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

Verified Templates for All Languages #656

Open
VasuBhog opened this issue Feb 1, 2023 · 1 comment
Open

Verified Templates for All Languages #656

VasuBhog opened this issue Feb 1, 2023 · 1 comment
Assignees
Milestone

Comments

@VasuBhog
Copy link
Contributor

VasuBhog commented Feb 1, 2023

Look into vscode-azurefunctions verified templates to verify what we can do prior to GA and post-GA.

@VasuBhog VasuBhog added the enhancement New feature or request label Feb 1, 2023
@VasuBhog VasuBhog added this to the Input/Output Bindings GA milestone Feb 1, 2023
@VasuBhog VasuBhog self-assigned this Feb 1, 2023
@VasuBhog
Copy link
Contributor Author

VasuBhog commented Feb 8, 2023

The reason why we would not show up in the verified templates is due to how vscode-azurefunctions pulls from non-preview bundles for the vscode command prompt list. As a result, we currently would have to put SQL templates into the ExtensionBundle (non-preview) in order to get pulled to the latest verified list.

However, if a user has a host.json that has ExtensionBundle.Preview ID / Version:
image
and then a user does func new in the terminal -> then it will load up a list of templates from the host.json extension bundle id (preview) and version for it.
image.
Core tools look at the bundle version in the host.json -> goes to the feed link here that stores the list of templates from preview bundle and the specific version (>4.31) and then find the templates that are a part of the bundle and then shows you in the above list.
The functions team hosts the templates feed links. VSCode only pulls from the stable bundle/versions so we will never see it unless we discuss with the vscode team the utilizing preview bundle feed link as well.

We can always verify the templates in vscode via the method I showed above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants