MCPcopy Create free account
hub / github.com/json-editor/json-editor / allErrorsMode

Function allErrorsMode

docs/scripts/ajv-validator.js:6881–6890  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6879 }
6880 }
6881 function allErrorsMode() {
6882 if (useLoop || $data) {
6883 cxt.block$data(codegen_1.nil, loopAllRequired);
6884 }
6885 else {
6886 for (const prop of schema) {
6887 (0, code_1.checkReportMissingProp)(cxt, prop);
6888 }
6889 }
6890 }
6891 function exitOnErrorMode() {
6892 const missing = gen.let("missing");
6893 if (useLoop || $data) {

Callers 1

codeFunction · 0.85

Calls 1

block$dataMethod · 0.80

Tested by

no test coverage detected