example/

directory
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: BSD-2-Clause

Directories

Path Synopsis
cache
Package cache implements caching of GraphQL requests by allowing resolvers to provide hints about their cacheability, which can be used by the transport handlers (e.g.
Package cache implements caching of GraphQL requests by allowing resolvers to provide hints about their cacheability, which can be used by the transport handlers (e.g.
server command
Package main demonstrates a simple web app that uses type-safe enums in a GraphQL resolver.
Package main demonstrates a simple web app that uses type-safe enums in a GraphQL resolver.
federation
compatibility command
This example demonstrates a 3-level hierarchy (Author -> Books -> Reviews) with data prefetching at each level to avoid N+1 query problems.
This example demonstrates a 3-level hierarchy (Author -> Books -> Reviews) with data prefetching at each level to avoid N+1 query problems.
server command
Package starwars provides a example schema and resolver based on Star Wars characters.
Package starwars provides a example schema and resolver based on Star Wars characters.
server command

Jump to

Keyboard shortcuts

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