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

Function writeShallowCycleMessage

ark/sets/fromJsonSchema.ts:1967–1970  ·  view source on GitHub ↗
(
	ref: string,
	pointer: string
)

Source from the content-addressed store, hash-verified

1965): string => `${pointer} can't be true without ${base}`
1966
1967export const writeShallowCycleMessage = (
1968 ref: string,
1969 pointer: string
1970): string => `${pointer} has a shallow $ref cycle (${ref})`
1971
1972export const writeCircularSchemaMessage = (pointer: string): string =>
1973 `JSON Schema at ${pointer} is circular`

Callers 1

readRefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected