Skip to content

feat: opt samples into operations namespace where their UIs need it#45

Merged
Theauxm merged 1 commit intomainfrom
feat/opt-in-operations-namespace
Apr 28, 2026
Merged

feat: opt samples into operations namespace where their UIs need it#45
Theauxm merged 1 commit intomainfrom
feat/opt-in-operations-namespace

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented Apr 28, 2026

Summary

  • The operations GraphQL namespace becomes opt-in in Trax.Api PR #35. Samples whose UIs and E2E tests rely on operations.{health, manifests, executions, deadLetters, triggerManifest, ...} now opt in explicitly.
  • Affected: GameServer.Api (web UI ops dashboard + trigger/cancel from the page), EnergyHub.Hub (Next.js manifest dashboard), JobHunt.Hub (phase-0 schema sanity test relies on framework-level fields being present).
  • Other samples already register [TraxQuery]/[TraxMutation] trains so their schemas have non-empty Query/Mutation roots without operations.

Test plan

  • dotnet build clean across all sample projects.
  • GameServer + EnergyHub + JobHunt E2E suites (require Postgres on :5432; currently held by an unrelated container in my env).
  • Manual: load GameServer.Api web UI and confirm the ops dashboard renders.

…need it

The operations namespace is opt-in as of Trax.Api 1.x. Samples whose
UIs and E2E tests rely on operations.{health, manifests, executions,
deadLetters, triggerManifest, ...} now opt in explicitly:

  - GameServer.Api: web UI ops dashboard + trigger/cancel from the page
  - EnergyHub.Hub: Next.js web UI manifest dashboard
  - JobHunt.Hub: phase-0 schema sanity test relies on ops being present

Other samples already register [TraxQuery]/[TraxMutation] trains so
their schemas have non-empty Query/Mutation roots without operations.
@Theauxm Theauxm merged commit f9938e8 into main Apr 28, 2026
1 of 2 checks passed
@Theauxm Theauxm deleted the feat/opt-in-operations-namespace branch April 28, 2026 19:16
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented May 6, 2026

This PR is included in version 1.21.0

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