Skip to main content

transform_envelope_v2

Function transform_envelope_v2 

Source
pub fn transform_envelope_v2(
    envelope: &ExportEnvelopeV2,
) -> Result<ProjectionImportBatchV2, BridgeError>
👎Deprecated since 0.2.0:

transform_envelope_v2() is compatibility-only. Use transform_envelope_v3() and ProjectionImportBatchV3.

Expand description

Transform an ExportEnvelopeV2 into a ProjectionImportBatchV2.

This is compatibility-only. It preserves schema-level metadata from V2 exports into a V2 projection batch, but it is not the normal integration path. New integrations should upgrade through ExportEnvelopeV3 and use transform_envelope_v3().

V2 preserves export-time metadata alongside the typed projection records. The bridge copies it through unchanged and still does not invent meaning.

Phase status: migration-only Removal condition: remove when all consumers have migrated to transform_envelope_v3() and ProjectionImportBatchV3