Skip to content

feat: add App.getAppGraph() for app-only Graph access#287

Open
heyitsaamir wants to merge 10 commits intomainfrom
aamirj/tenantSpecificGraph
Open

feat: add App.getAppGraph() for app-only Graph access#287
heyitsaamir wants to merge 10 commits intomainfrom
aamirj/tenantSpecificGraph

Conversation

@heyitsaamir
Copy link
Copy Markdown
Collaborator

@heyitsaamir heyitsaamir commented Aug 2, 2025

Summary

  • App.getAppGraph(tenantId?) — new public method returning a GraphClient for app-only Graph operations. Accepts optional tenantId for multi-tenant support.
  • Added /app-users and /app-users ctx commands to the graph example demonstrating both app.getAppGraph() and ctx.appGraph patterns.
// App-level Graph access, no ActivityContext needed
const graph = app.getAppGraph();                      // default tenant
const graph = app.getAppGraph("some-tenant-id");      // explicit tenant
const users = await graph.call(endpoints.users.list);

heyitsaamir and others added 3 commits August 1, 2025 17:56
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>
heyitsaamir and others added 6 commits April 3, 2026 14:46
# Conflicts:
#	packages/apps/src/app.ts
- Rename getTenantGraph to getAppGraph with optional tenantId
- Add /app-users and /app-users ctx commands to graph example
  demonstrating app-only Graph access patterns

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@heyitsaamir heyitsaamir changed the title Add getTenantGraph feat: add App.getAppGraph() for app-only Graph access Apr 8, 2026
@heyitsaamir heyitsaamir marked this pull request as ready for review April 9, 2026 17:35
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant