fn to_fields(
pairs: &[(String, String)],
inherited: &[String],
decls: &BTreeMap<String, String>,
notes: &mut Vec<String>,
) -> Vec<Field>Expand description
Turns (field, value expression) pairs into fields, dropping the ones every
event inherits and deciding required-ness from the Zod chain.