Azure / Azure/azure-functions-dotnet-worker
FunctionsEnableMetadataSourceGen doesn't disable the metadata generator
- Dominant language
- C#
- Stars
- 466
- Forks
- 215
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 7
Description
Potentially related issues
https://github.com/Azure/azure-functions-dotnet-worker/issues/2186
https://github.com/Azure/azure-functions-dotnet-worker/issues/1058
as suggested by @jviau in https://github.com/Azure/azure-functions-dotnet-worker/issues/2186#issuecomment-1885330533 it should be possible to control the individual source generators with
```xml
false
false
```
while `FunctionsEnableExecutorSourceGen` works setting `FunctionsEnableMetadataSourceGen` to `false` doesn't lead to disabling the metadata source generator. Only when `FunctionsEnableWorkerIndexing` is set to `false` the metadata source generator is actually disabled so in essence `FunctionsEnableMetadataSourceGen` has no effect.

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the handling of FunctionsEnableMetadataSourceGen and compare it with FunctionsEnableExecutorSourceGen. Verify that setting FunctionsEnableMetadataSourceGen to false disables only the metadata generator, then confirm the behavior with the existing source-generation tests or project configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100