microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
291 stars 132 forks source link

There is no validation when entering a name with more than 255 characters for function name #4017

Open Amar-QA opened 6 months ago

Amar-QA commented 6 months ago

OS: All Build Version: 20240301.18 Regression: Not a Regression.

Repro Steps:

  1. Create a new project.
  2. Open Command Palette > Type and Select "Azure Functions: Create Functions." > Select "HttpTrigger" > Enter a name which contains more than 255 characters for the function name.
  3. Check whether there is a validation for the function name.

Actual: There is a validation for the function name.

Expected: There is no validation when entering a name with more than 255 characters for a function name. image

More Info:

  1. An error occurs when creating a function named with more than 255 characters. image