pub fn apply_patch(
doc: &ResearchContextDocumentV1,
ops: &[PatchOpV1],
) -> Result<ResearchContextDocumentV1, String>Expand description
Apply ops in order; any op that does not fit the document is an error.
pub fn apply_patch(
doc: &ResearchContextDocumentV1,
ops: &[PatchOpV1],
) -> Result<ResearchContextDocumentV1, String>Apply ops in order; any op that does not fit the document is an error.