Azure / Azure/azure-functions-core-tools

No language selection for nested Function Apps

Open
#1,491 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

1. func init (Select a language L)
2. mkdir nestedApp
3. cd nestedApp
4. func init (func assumes the language to be L)

We should maybe throw an error for nested Function Apps or at the least not assume a worker runtime.

This should be a low-pri item as this isn't a blocking scenario and ideally users shouldn't be hitting this case.

cc: @ColbyTresness

Contributor guide

Open the contributing guide

Research direction

Reproduce the sequence with `func init`, a nested `nestedApp` directory, and a second `func init` to confirm how the language is selected. Start at the `func init` command entry point and determine whether the completed behavior should reject nested Function Apps or avoid assuming the parent worker runtime; done when that behavior is explicit and covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.