microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
v5 doesn't know well-known folder names
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Is your feature request related to a problem? Please describe.
In v4 you could write
var mails = await client.Me.MailFolders.SentItems.Request().GetAsync();
In v5 this becomes
var mails = await client.Me.MailFolders["SentItems"].GetAsync();
Unfortunately the list of well-known folder names or no longer part of the SDK and must be taken as string from the documentation.
Describe the solution you'd like
Would be great if the v5 SDK also has one of these:
var mails = await client.Me.MailFolders.SentItems.GetAsync();
// or
var mails = await client.Me.MailFolders[MailFolder.SentItems].GetAsync();
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 by reviewing the v5 mail-folder API represented by the client.Me.MailFolders["SentItems"] example and compare it with the v4 SentItems access pattern. Determine how well-known folder names should be exposed, then confirm that the chosen API supports the requested usage and covers the documented well-known names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100