pub async fn build(config: AppConfig, host: Host) -> Result<App>Expand description
Connect, load the schema cache and build the router.
Fails rather than serving something partial when the database cannot be reached or a setting cannot be honoured. GraphQL is the exception: a schema that cannot be built is logged and the rest is served without it.