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

Function writeUnresolvableRefMessage

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

Source from the content-addressed store, hash-verified

1952 `${pointer} must reference a schema in its own document (was ${ref})`
1953
1954export const writeUnresolvableRefMessage = (
1955 ref: string,
1956 pointer: string
1957): string => `${pointer} (${ref}) doesn't resolve to a schema in its document`
1958
1959export const writeNonNullableNullMessage = (pointer: string): string =>
1960 `${pointer} can't be false beside a type that includes null`

Callers 3

resolveRefFunction · 0.85
resolvePointerFunction · 0.85
decodePointerSegmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected