Expand description
Name transformation for mz-deploy dev overlay compilation.
This module provides OverlayTransformer, which implements the
two-step reference resolution rule for schema-level overlays:
- External references — if the database is not in
in_project_databases, emit the name verbatim. - Dirty schemas — if
(database, schema)is indirty_schemas, rewrite the database component to<database>__<profile_name>. Otherwise emit<database>.<schema>.<object>(production reference).
Unqualified / partially qualified names are fully qualified using the
transformer’s fqn context before the rule is applied.
The project planner has already applied any configured profile_suffix
to database and cluster names before dev invokes the transformer, so
no suffix handling is required here.
Structs§
- Overlay
Transformer 🔒 - Transforms references for
mz-deploy devoverlay compilation.