ErrorsConfiguration · rule
configuration.default_type
Setting value is the wrong kind of value for its type.
Area 10, Configuration; not declinable; the next step is usually the agent's.
config { page_size: Int { default: "many" }}
error "many" can't be the default of page_size
--> main.jadpo:3:18
|3 | default: "many" | ^^^^^^ the wrong kind of value
- reason
page_sizeisInt, and this is a different kind of value; the default must be a literal of the setting's own type.- next
- Write a
Intvalue afterdefault:(agent) - rule
- configuration.
default_ type - help
- https://jadpo.
dev/docs/errors/configuration. default_ type
Markdown for agents: /docs/errors/configuration.default_type.md.Built from Jadpo main at aee2e8f.