Module schema

Module schema 

Source
Expand description

GraphQL schema generation from PostgreSQL schema cache.

Builds a dynamic GraphQL schema from the database schema cache, creating query and mutation types for each table.

Modules§

object
Table to GraphQL ObjectType conversion.
relationship
Relationship to GraphQL field conversion.

Structs§

GeneratedSchema
Represents a generated GraphQL schema.
MutationField
A mutation field for a table.
QueryField
A query field for a table (e.g., users, userByPk).
SchemaConfig
Configuration for schema generation.

Enums§

MutationType
Types of mutations.

Functions§

build_schema
Build a GraphQL schema from a schema cache.