spin_manifest::normalize

Function normalize_manifest

Source
pub fn normalize_manifest(manifest: &mut AppManifest)
Expand description

Normalizes some optional AppManifest features into a canonical form:

  • Inline components in trigger configs are moved into top-level components and replaced with a reference.
  • Any triggers without an ID are assigned a generated ID.