Documentation
¶
Overview ¶
Example: a complete GraphQL service built with github.com/paulmanoni/go-graph and registered into a nexus dashboard. Mirrors oats_admin_backend controllers:
- per-domain fx.Module (advertsModule)
- resources declared ONCE at the top (resourcesModule) and referenced by name via Service.Using(...) or UsingDefaults()
- resolvers built with graph.NewResolver[...].WithMiddleware(...).BuildQuery()
- fields collected via Fx value groups and assembled by graph.SchemaBuilder
Run: go run ./examples/graphapp → http://localhost:8080/__nexus/
Click to show internal directories.
Click to hide internal directories.