microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
[Client bug]: client.Users["id"].PatchAsync() should not be `Task<User>`
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Describe the bug
The call of PatchAsync() claims to return a Task<User>, but this return value is always null and according to the documentation it won't return anything.
Client version
v5.7.0
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
Start in src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs at the linked PatchAsync declaration, then compare its signature with the Microsoft Graph user-update response documentation. Done means the generated client no longer advertises a User result for this update operation and the resulting API contract is consistent with the documented empty response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100