Package: effect
Module: Schema
Derives a JSON Patch differ from a codec. Serializes values to JSON (via
toCodecJson), computes RFC 6902 JSON Patch operations between old
and new values, and can apply patches back to the typed value.
Signature
declare const toDifferJsonPatch: <T>(schema: ConstraintCodec<T, unknown>) => Differ<T, JsonPatch.JsonPatch>
Since v4.0.0