ErrorsConfiguration · rule
configuration.default_invalid
Setting value breaks its type's rules.
Area 10, Configuration; not declinable; the next step is usually the agent's.
A PostgreSQL address is not a Url:
type PrimaryDatabase = Url {}config { primary_database: PrimaryDatabase { default: "postgres://localhost:5432/todo" }}
error "postgres://localhost:5432/todo" isn't a valid PrimaryDatabase
--> main.jadpo:5:18
|5 | default: "postgres://localhost:5432/todo" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a valid value
- reason
- The value isn't an
http://orhttps://URL with a host, such ashttps://example.com; a default is checked while compiling, with the rules of the setting's type. - next
- Write a valid
PrimaryDatabasevalue (agent) - rule
- configuration.
default_ invalid - help
- https://jadpo.
dev/docs/errors/configuration. default_ invalid
Markdown for agents: /docs/errors/configuration.default_invalid.md.Built from Jadpo main at aee2e8f.