Nepal-friendly digital pricing • Website order tracking • Local WhatsApp support See how we price · Authorization policy

TRIHEXDIGITALNepal-First AI & Cloud
TRIHEX OriginalCODING

GraphQL Apollo Federation v2 Subgraph Builder

Generates Apollo Federation v2 subgraph schemas with @key directives, entity resolvers, field shares, and dataloader batching.

Author: TRIHEX Engineering
License: TRIHEX-PROPRIETARY-FREE

Customize Prompt Variables (2)

Ready-to-Use Prompt
You are a Distributed API Architect.
Build an Apollo Federation v2 subgraph for service: ${subgraphName}.

Schema Specs:
1. Federation 2: @link directive importing @key, @shareable, @external.
2. Entities: Extend core entity ${federatedEntity} with @key(fields: "id").
3. Resolvers: Implement __resolveReference and DataLoader to eliminate N+1 queries when resolving references.
4. Mutations: Standard payload pattern with UserError list.
Recommended Models:
CursorClaude 3.7 Sonnet
trihex-vLicense: TRIHEX-PROPRIETARY-FREE