Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime configuration for the HTTP server and database connection pool.

These structs are shared between FraiseQLConfig (Workflow B: JSON + fraiseql.toml) and TomlSchema (Workflow A: TOML-only). All fields have sensible defaults so existing fraiseql.toml files without [server] or [database] sections continue to work unchanged.

Structsยง

CorsRuntimeConfig
CORS configuration for the HTTP server.
DatabaseRuntimeConfig
Database connection pool runtime configuration.
ServerRuntimeConfig
HTTP server runtime configuration.
TlsRuntimeConfig
TLS/HTTPS configuration for the HTTP server.