pub fn plan_update(
existing: &ClassSchema,
fields: &ParseMap,
clp: Option<ParseMap>,
opts: ClpValidation,
) -> Result<SchemaMutation, ParseError>Expand description
Validate a PUT /schemas/:className body against the stored schema and produce the plan.
The two mutation errors are checked before anything else happens, exactly as upstream does at
:880-892, so a body that both adds a legal field and illegally retypes another adds nothing.