Skip to content

feat(versioned): Support conversion tracking through enums - #1294

Merged
Techassi merged 11 commits into
mainfrom
feat/track-enums
Oct 16, 2026
Merged

Techassi merged 11 commits into
mainfrom
feat/track-enums

Conversation

@sbernauer

Copy link
Copy Markdown
Member

Description

Builds on top of #1293!

With experimental_conversion_tracking enabled, versioned enums now implement TrackingFrom instead of From, in line with structs.

Also fix the generated From impls for variants with multiple unnamed fields, which were missing separating commas.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added

@sbernauer
sbernauer added this pull request to stack #1295 October 9, 2026 14:04
Comment thread crates/stackable-versioned-macros/src/lib.rs Outdated
Base automatically changed from feat/from_docs to main October 12, 2026 14:25
With experimental_conversion_tracking enabled, versioned enums now implement
TrackingFrom instead of From, in line with structs. Variants marked with
as an additional path segment (eg. `$.connector.Iceberg.field`).

Also fix the generated From impls for variants with multiple unnamed fields,
which were missing separating commas.
@Techassi
Techassi added this pull request to the merge queue Oct 16, 2026
Merged via the queue into main with commit 5ef8294 Oct 16, 2026
5 checks passed
@Techassi
Techassi deleted the feat/track-enums branch October 16, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants