What is Graphile Build
mainGraphile Build is a toolkit designed for auto-generating flexible and extensible GraphQL APIs from arbitrary data sources. It uses a plugin-based architecture to allow for easy addition or removal of features, and a behavior system that provides fine-grained control over which features are enabled for specific entities.
Key characteristics include:
- Extensibility: A plugin system allows users to write custom or community extensions.
- Performance: Integration with Grafast allows generated schemas to potentially outperform hand-rolled schemas using traditional resolvers and DataLoader.
- Dynamic Updates: Plugins can trigger rebuild events when underlying data structures change, allowing the GraphQL schema to be updated without restarting the server.
A primary example of a system built with this toolkit is PostGraphile, which uses it to build GraphQL APIs from PostgreSQL databases.