Skip to content

Commit 2b31829

Browse files
authored
docs: explain why overrideEntry properties is optional in schema generator
1 parent bc72cbc commit 2b31829

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/generate-schemas.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ const overrideSchema = {
311311
},
312312
overrideEntry: {
313313
type: 'object',
314+
// Only 'name' is required: the loader treats 'properties' as optional and
315+
// falls back to inline fields when it is omitted (see src/lib/config-loader.ts).
314316
required: ['name'],
315317
additionalProperties: false,
316318
properties: {

0 commit comments

Comments
 (0)