doc: fix node-config-schema#61596
Conversation
|
Review requested:
|
|
The schema is automaticly generated so this change will be overwritten. |
|
@marco-ippolito The generator is wrong and has to be fixed then. |
|
@marco-ippolito updated. |
|
This is where the schema is generated: |
9aba333 to
40bfdac
Compare
|
@marco-ippolito 🤦🏻 i forgot to add the last There is now only unrelated difference between what diff --git a/doc/node-config-schema.json b/doc/node-config-schema.json
index ad1c4440108..5811cf8892d 100644
--- a/doc/node-config-schema.json
+++ b/doc/node-config-schema.json
@@ -164,9 +164,6 @@
"experimental-print-required-tla": {
"type": "boolean"
},
- "experimental-quic": {
- "type": "boolean"
- },
"experimental-repl-await": {
"type": "boolean"
},
@@ -351,6 +348,9 @@
}
]
},
+ "require-module": {
+ "type": "boolean"
+ },
"secure-heap": {
"type": "number"
}, |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #61596 +/- ##
==========================================
- Coverage 89.77% 89.77% -0.01%
==========================================
Files 672 673 +1
Lines 203755 203897 +142
Branches 39167 39189 +22
==========================================
+ Hits 182922 183044 +122
- Misses 13164 13183 +19
- Partials 7669 7670 +1
🚀 New features to boost your workflow:
|
|
Landed in 6c44d31 |
PR-URL: #61596 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: #61596 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Fixes #61595
minItemswas used incorrectly"required": [],to explicitly document that there are no required properties (which allows running inrequireValidationmode which also ensures that no props are non-typed)It now passes in:
require('@exodus/schemasafe').validator(require('../../doc/node-config-schema.json')require('@exodus/schemasafe').validator(require('../../doc/node-config-schema.json', { requireValidation: true })Strings are still not validated