microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
DistributionList.Members is mapped to incorrect type
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Describe the bug
DistributionList.Members is mapped to List<Member>.
Expected behavior
The actual type of the collection is DistributionListMember (https://learn.microsoft.com/en-us/graph/api/resources/distributionlistmember?view=graph-rest-beta) which has different fields.
How to reproduce
Cannot provide repro since the bindings are binding to incorrect type.
SDK Version
6.5.1-preview
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Find the generated .NET model for DistributionList.Members and compare its declared collection type with the Microsoft Graph DistributionListMember resource documentation linked in the issue. Update the binding so the collection uses DistributionListMember, then verify the generated model exposes that type and its distinct fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100