Azure / Azure/azure-functions-sql-extension

SQL Trigger Template for Typescript Not Available from CLI

Open
#1,192 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
130
Forks
71
Avg merge
4d 8h
Merged PRs (30d)
4

Description

Hi there,

When I run `func templates list` I see "SQL Trigger" listed underneath the TypeScript Templates heading. However, when I subsequently run `func new --template "SQL Trigger" --name fooFunction` I get the following error:

> Can't find template "Sql Trigger" in "typescript"

Not the end of the world as I can see the template in this repository, but would be worthwhile to fix as it's nice to use the preset templates to initialise functions :)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `func templates list` and `func new --template "SQL Trigger" --name fooFunction` for the TypeScript templates. Compare the displayed `SQL Trigger` name with the SQL Trigger template in the repository. Done means the listed name can be passed to the CLI to initialize a function without the “Can't find template” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.