Azure / Azure/azure-functions-core-tools

Add EventGrid CloudEvent templates to hard-coded list

Open
#3,503 2 comments 1 reaction 1 assignee Claimed by @khkh-ms View on GitHub
area: templates bug
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

We recently added new templates for the "EventGrid CloudEvent trigger" for .NET. This new template is already included with the template package version that is shipped with the latest Core Tools version. However, the template still does not show up in the list of new templates to create when you run `func new`. This is because Core Tools hardcodes a list of templates [here](https://github.com/Azure/azure-functions-core-tools/blob/1a61fc80af7aac1a1646e433fe2064784960d368/src/Azure.Functions.Cli/Helpers/DotnetHelpers.cs#L108) which it uses to list options after `func new`. As a result, we need to add the `EventGridCloudEventTrigger` template to this list. The templates were added [here](https://github.com/Azure/azure-functions-templates/pull/1438) and [here](https://github.com/Azure/azure-functions-templates/pull/1439).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.