graphapp

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 13 Imported by: 0

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/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL