Keep a secret setting's raw value out of the boot error that rejects it #201

Merged
lilleman merged 5 commits from item-46 into main 2026-10-31 13:47:02 +01:00
Showing only changes of commit 306f322b62 - Show all commits
+1 -1
View File
@@ -868,7 +868,7 @@ export default definePlugin({
``` ```
`type` is one of `string`, `number`, `boolean`, `enum` (with `values`) or `url`. A declared type is `type` is one of `string`, `number`, `boolean`, `enum` (with `values`) or `url`. A declared type is
coerced and checked at boot, so a mistyped value names the plugin, the key and the variable instead coerced and checked at boot, so a mistyped value names the plugin and the variable instead
of surfacing later as a broken page. of surfacing later as a broken page.
**`required` and `default` are mutually exclusive** — a default means the setting can never fail, so **`required` and `default` are mutually exclusive** — a default means the setting can never fail, so