ErrorsConfiguration · rule
configuration.url_type
Connection address is not a setting of the type its driver needs.
Area 10, Configuration; not declinable; the next step is usually the agent's.
config { cache_url: RedisUrl}
application { connections: { main: { driver: Driver.postgres url: config.cache_url } }}
error main's address must be a PostgresUrl setting
--> app.jadpo:5:18
|5 | url: config.cache_url | ^^^^^^^^^^^^^^^^ `cache_url` is `RedisUrl`
- reason
- A connection opened with
driver: Driver.postgrestakes an address of its own type, which checks the scheme and is always secret;config.cache_urlisRedisUrl. - next
- Declare
<name>: PostgresUrlinconfig.jadpo, and writeurl: config.<name>(agent) - rule
- configuration.
url_ type - help
- https://jadpo.
dev/docs/errors/configuration. url_ type
Markdown for agents: /docs/errors/configuration.url_type.md.Built from Jadpo main at aee2e8f.