Skip to content

Expose Graph Client http client via public getter#489

Merged
heyitsaamir merged 3 commits intomainfrom
expose-graph-http-client
Mar 26, 2026
Merged

Expose Graph Client http client via public getter#489
heyitsaamir merged 3 commits intomainfrom
expose-graph-http-client

Conversation

@heyitsaamir
Copy link
Copy Markdown
Collaborator

Summary

Exposes the Graph Client's HTTP client via a public read-only http getter. This allows users to make raw Graph API requests with the correct base URL, auth headers, and user-agent already configured, without needing to reconstruct that setup themselves.

Use cases include making raw Graph requests not covered by endpoint functions, and following @odata.nextLink URLs for pagination.

const graph = new Client(options);
const response = await graph.http.get('/me/photo/$value');

heyitsaamir and others added 3 commits March 24, 2026 23:48
These two markdown files are all a human needs to write — the e2e testing
skill generates and manages the actual Playwright test code from here.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Jesperholmbergmsft
Copy link
Copy Markdown
Contributor

Ship it!

@heyitsaamir heyitsaamir merged commit 7e93b85 into main Mar 26, 2026
7 checks passed
@heyitsaamir heyitsaamir deleted the expose-graph-http-client branch March 26, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants