Graphile Schema

JSON →
library 1.22.1 ·javascript
verified Jun 4, 2026

A utility library for building GraphQL SDL (Schema Definition Language) from PostgreSQL databases using PostGraphile v5. It provides a `SchemaBuilder` class that simplifies constructing GraphQL schemas programmatically by introspecting database schemas and generating types and relationships. Key differentiators: integrates directly with PostGraphile v5's plugin system, eliminates manual schema stitching, and supports dynamic schema generation. Current stable version (1.22.1) is actively maintained with weekly releases. Ships TypeScript types and is part of the Constructive ecosystem.