Azure / Azure/azure-functions-core-tools

Core Tools should block settings value with invalid name in `local.settings.json`

Open
#3,705 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

As the following screenshot, Azure Functions can accept only letters, numbers (0-9), periods ("."), and underscores ("_") as appsetting name.
![image](https://github.com/Azure/azure-functions-core-tools/assets/4566555/390d4424-8dec-4ac3-92b2-2cac995c91e0)

But core tools can accept other characters from those, like half-width space.

It's better to match both of them.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Core Tools entry point that reads app settings from local.settings.json and check where setting names are validated. Confirm the current acceptance of a half-width space, then make completion mean that names accept only letters, digits, periods, and underscores.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.