Expand description
Content Block diff.
§Why state is excluded from the syncable comparison
Braze’s /content_blocks/info response does not carry a state field
and the braze client defaults every fetched block to Active.
Comparing whole-struct equality would make any local file with
state: draft diff as Modified forever — the “infinite drift” mode
the orphan design is meant to prevent for resources with no DELETE
endpoint. Excluding state keeps the local file free to carry that
metadata for human readers without producing false-positive diffs.
Structs§
Functions§
- diff
- Returns
Noneonly when both sides are absent. Local is desired state, remote is current Braze state.
Type Aliases§
- Content
Block IdIndex - Name → Braze
content_block_id. Built during diff, consumed by apply to translate per-name plan entries into the id the update endpoint requires.