MCPcopy Create free account
hub / github.com/eclipsesource/jsonforms / subErrorsAt

Function subErrorsAt

packages/core/src/store/jsonFormsCore.ts:36–39  ·  view source on GitHub ↗
(instancePath: string, schema: JsonSchema)

Source from the content-addressed store, hash-verified

34export const errorAt = (instancePath: string, schema: JsonSchema) =>
35 getErrorsAt(instancePath, schema, (path) => path === instancePath);
36export const subErrorsAt = (instancePath: string, schema: JsonSchema) =>
37 getErrorsAt(instancePath, schema, (path) =>
38 path.startsWith(instancePath + '.')
39 );
40
41export const getErrorAt =
42 (instancePath: string, schema: JsonSchema) => (state: JsonFormsState) => {

Callers 2

core.test.tsFile · 0.90
getSubErrorsAtFunction · 0.85

Calls 1

getErrorsAtFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…