Azure / Azure/azure-functions-dotnet-worker
Types used in WorkerExtensionStartup must be public
Open
bug
feature: source-metadata-generator
supportability: analyzer
team-issue
- Dominant language
- C#
- Stars
- 466
- Forks
- 215
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 7
Description
The registered startup types are used in code gen applied to the application project. If they're not public, that will lead to compilation errors in the target.
Two changes should be made:
1 - The source generator should only use public types. Emit a compilation warning so end users know the extension services are not being registered.
2 - An analyzer should enforce the visibility of types used with the `WorkerExtensionStartupAttribute`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.