Skip to main content

Module project

Module project 

Source
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
DatabaseConfig
Defines a database to be used by Waveless
EndpointGeneratorConfig
Defines parameters for the endpoint generator.
Executor
Runtime settings: these parameters will be used by the server exclusively
ExternalDBConnectionConfig
TODO: load custom database drivers.
ExternalEndpointGenerator
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§

AnyDatabaseConnectionConfig
TODO: add documentation.