CommunityToolkit / CommunityToolkit/Graph-Controls

[Feature] UserExtensionStorageHelper should support updating multiple values at once.

未關閉
#167 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Area: Helpers Helpers: RoamingSettings
主要語言
C#
星號
156
分支
38
PR 合併指標
30 天內沒有已合併 PR

描述

## Describe the problem this feature would solve

The `UserExtensionStorageHelper` does not offer a way to update multiple values at once, and must be set one at a time. This is a particular inconvenience in the case of key deletion...

### Key deletion issue

The Graph doesn't currently enable a way to delete a single key from a user extension storage container. Instead, the entire storage container must be deleted, recreated, and re-hydrated with values. And because we can't add more than one key at a time, the time/effort/number-of-requests scales with the size of the storage container. This is super inefficient.

## Describe the solution

[Graph supports adding multiple values at once](https://docs.microsoft.com/en-us/graph/extensibility-open-users#1-add-roaming-profile-information), so we should add this functionality to enable the `UserExtensionStorageHelper` to be more efficient.

## Describe alternatives you've considered

None

## Additional context & Screenshots

This is a good opportunity to give feedback to the Graph team on the key deletion issue.

- [ ] Submit issue to Graph SDK for .NET

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先定位 UserExtensionStorageHelper,並檢視關於一次新增多個值的相關 Microsoft Graph 文件。確認該 helper 目前如何更新個別值,然後將完成標準定義為支援透過一個操作進行多項更新,同時處理儲存容器金鑰刪除工作流程。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
api, backend-api-design
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。