Core Concepts

Viaduct core concepts applied in the Star Wars demo application.

This section explains how Viaduct’s core building blocks map onto the Star Wars demo application. It provides a shared vocabulary for the rest of the docs and links out to deeper explanations where needed.

What “core” means here

Core refers to the foundational pieces that every Viaduct service uses: schemas, resolvers, scopes, global IDs, batching, and validation. The Star Wars demo uses minimal, in-memory data to make these concepts easy to see and adapt to real backends later.

Topics in this section

  • Global IDs
  • Node Resolvers
  • Field Resolvers
  • Batch Resolvers
  • Resolver Integration Patterns

Global IDs

Are Base64-encoded, type-safe identifiers for node-based entity retrieval in Viaduct.

Node Resolvers

Implementing node resolvers in Viaduct for type-safe, opaque Global ID lookups.

Field Resolvers

Implementing field resolvers in Viaduct.

Batch Field Resolvers

Implementing batch field resolvers in Viaduct.

Resolver Integration Patterns

How node and field resolvers work together in Viaduct.