Repository navigation
Fix Graph request OutputType forwarding and alias handling - #1596
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
Static review found no blocking issues and confirmed prerequisite helper support is present; tests were not executed.
0 open findings
What changed in this PR
Completes the public Graph request wrapper’s OutputType handling, building on the batch-helper support from #1590.
Changes:
- Forwards OutputType to batches and normalizes PSCustomObject for individual requests and continuation pages.
- Updates batching help and expands regression coverage for output types, paging, routing, malformed responses, and retries.
| File | Description |
|---|---|
| src/powershell/public/Invoke-ZtGraphRequest.ps1 | Forwards OutputType, normalizes its alias, and updates help. |
| code-tests/commands/Invoke-ZtGraphRequest.Tests.ps1 | Expands wrapper and real-cache regression coverage. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
ashwinikarke
marked this pull request as ready for review
October 16, 2026 09:19
ashwinikarke
requested review from
Aleksandar Nikolić (alexandair) and
Anton Staykov (astaykov)
October 16, 2026 09:20
Aleksandar Nikolić (alexandair)
approved these changes
Oct 18, 2026
Aleksandar Nikolić (alexandair)
left a comment
Collaborator
There was a problem hiding this comment.
LGTM
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.
Summary
Addresses the public-wrapper OutputType follow-up from #1584.
Dependency
Requires #1590 to merge first for the private helper's OutputType support.