microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

Inconsistency between documentation and SDK

Open
#1,851 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2 Question: SDK Request: documentation
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Describe the bug
Example from documentation does not comiple.

_userClient.Sites["id"].Drive.Items

because Drive does not have an Items property.

Expected behavior
Code compiles

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the documentation example _userClient.Sites["id"].Drive.Items and compare it with the available SDK members for Drive. Update the example so it compiles, then verify the corrected documentation snippet against the SDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.