Azure / Azure/azure-functions-dotnet-worker
[Source Gen] Analyzer to enforce relationship between Binding constructor parameter names and property names
- Dominant language
- C#
- Stars
- 466
- Forks
- 215
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 7
Description
Related to #1113 and #1087, discussed in a previous design meeting.
While all current bindings follow the convention where constructor parameter names match property names ([EventHubs example](https://github.com/Azure/azure-functions-dotnet-worker/blob/main/extensions/Worker.Extensions.EventHubs/src/EventHubOutputAttribute.cs)), since source-generation relies on this convention explicitly now, we want to make sure future changes continue to adhere to this rule.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the EventHubOutputAttribute.cs example and the discussions in issues #1113 and #1087. Locate the source-generation analyzer entry point, then verify that its completed diagnostics enforce matching binding constructor parameter and property names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100