Expand description
The Waveless’s project’s ‘project.toml’ file will be divided into: compiler settings, runtime settings, authentication and database authentication credentials
Both Authentication and [CheapVec<DatabaseAuth>] will be shared with the compiler and the runtime.
TODO: maybe implement default variants
Structs§
- Admin
- Defines admin settings and privileges on the server.
- Authentication
- Defines how the server executor can handle authentication
- Compiler
- Compiler settings: these parameters will be used by the API’s compiler exclusively
- Config
- General settings that will be shared across Waveless’s components
- Database
Config - Defines a database to be used by Waveless
- Endpoint
Generator Config - Defines parameters for the endpoint generator.
- Executor
- Runtime settings: these parameters will be used by the server exclusively
- ExternalDB
Connection Config - TODO: load custom database drivers.
- External
Endpoint Generator - The external module will use the project’s hooks ti establish a database connection. TODO: load custom schema discovery drivers.
- Project
- Includes all the project’s config
Traits§
- AnyDatabase
Connection Config - TODO: add documentation.