pub fn storage_paths(
t: &TypeRef,
prefix: &str,
types: &HashMap<String, Arc<TypeDecl>>,
) -> Vec<StoragePath>Expand description
#2676 (Decision B): every position in a stored value of type t, as
(path, shallow structure, has a default), starting from prefix (the
store field’s name). It expands exactly what canon_storage_type’s
structure does (records and sums by field and variant name, containers by
their element, recursion closed by @N), but node by node, so two values
have the same structure exactly when their path sets agree. That lets the
schema reconcile see where a change is, and admit only a record field
added with a default.