microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
How can I tell the Backing Store to skip specific changes?
@andrueastman is already working on this.
Since Oct 5, 2023.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Hi @andrueastman,
I hope this message finds you well. We recently had a discussion concerning the backing store in issue #1813.
It appears that we are encountering difficulties with tracking the Backingstore when working with User objects. Specifically, we have come across situations where we directly manipulate the extension attributes of the user object. However, when attempting to execute the Patch operation using a ToPatchRequestInformation, it throws an exception stating that an update is not possible since extension attributes cannot be directly manipulated using a user endpoint.
Upon investigating, I noticed that user.BackingStore.Enumerate() lists the extension attributes, indicating they are ready to be updated.
My objective is to inform the user object that I do not wish to update the extension attributes in the patch operation. Is there a way for me to instruct the backing store to skip specific changes by marking the values in some manner?
Thank you,
Patrick
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.
Assessment
This issue has not been assessed yet.