MCPcopy Create free account
hub / github.com/arktypeio/arktype / mergeIssues

Function mergeIssues

ark/aot/settingsValidators.ts:306–314  ·  view source on GitHub ↗
(errors, merged, prefix)

Source from the content-addressed store, hash-verified

304 return onFail ? onFail(errors) : errors
305}
306var mergeIssues = (errors, merged, prefix) => {
307 for (const issue of merged.issues) {
308 errors._.push(
309 listsUnions && issue._m ?
310 issue._m(prefix)
311 : movedIssue(issue, [...prefix, ...issue.path])
312 )
313 }
314}
315var codedIssue = issue => Object.defineProperty(issue, "_c", { value: 2 })
316var notedAs = (issue, copy) =>
317 labelsValues && issue._n !== void 0 ? labeledIssue(copy, issue._n)

Callers 1

addErrorsFunction · 0.70

Calls 3

movedIssueFunction · 0.70
_mMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected