Repository navigation
feat: add current-user URI remapping for shared request builders - #1146
Open
Gavin Barron (gavinbarron) wants to merge 4 commits into
Open
Gavin Barron (gavinbarron) wants to merge 4 commits into
Gavin Barron (gavinbarron) wants to merge 4 commits into
Conversation
Add default Graph URI replacement and batch-step remapping for the shared Me request-builder sentinel. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Update the pinned .NET SDK to 10.0.404 so trimming CI uses the patched 10.0.15 NativeAOT compiler instead of vulnerable 10.0.8 tooling. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The trimming job runs from its project directory, where a nested global.json overrode the root SDK pin and selected the vulnerable 10.0.8 NativeAOT compiler on CI. Update both nested pins to 10.0.404 as well. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



N/A (no linked issue).
Changes proposed in this pull request
CoreConstants.ReplacementConstants.UserIdTokenToReplacecontract and a Graph-specific URI replacement option. The default HTTP pipeline maps the reserved/users/TokenToReplacepath back to/me, allowing service SDKs to reuse/users/{user-id}request builders without looking up the current user's ID./megeneration and depend on this support being released first.Validation
dotnet format --verify-no-changes --no-restore --verbosity minimal.dotnet test tests\Microsoft.Graph.DotnetCore.Core.Test\Microsoft.Graph.DotnetCore.Core.Test.csproj --framework net10.0 --no-restore --verbosity minimal(209 passed, 1 existing skipped test).dotnet publish -c Release -r win-x64 /p:TreatWarningsAsErrors=true /warnaserror -f net10.0, run fromtests\Microsoft.Graph.DotnetCore.Core.Trimming(including native-code generation).dotnet packbuilt all five configured non-MAUI target frameworks and created the local integration package used by both service SDKs.Other links
Microsoft Reviewers: Open in CodeFlow