Skip to content

Strip schema-only attrs from non-final version expansions - #160

Merged
louisponet merged 3 commits into
mainfrom
lopo/versioned-schema-attrs
Sep 15, 2026
Merged

louisponet merged 3 commits into
mainfrom
lopo/versioned-schema-attrs

Conversation

@louisponet

@louisponet louisponet commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Schema-only field attributes describe the final queryable shape, so older versions cannot name them. The evolve macros now strip telemetry_schema attributes from every non-final expansion while the accumulated field state keeps them for the final version.

Also adds TypeHash for ArrayStr (sibling of the existing ArrayVec impl: hash name, capacity, and layout), needed so versioned structs can hold ArrayStr fields without literals.

@louisponet
louisponet requested a review from a team September 14, 2026 14:00
@louisponet
louisponet force-pushed the lopo/versioned-schema-attrs branch from ddbd441 to facbea1 Compare September 15, 2026 08:43
@louisponet louisponet mentioned this pull request Sep 15, 2026
@louisponet
louisponet merged commit e18bbea into main Sep 15, 2026
3 checks passed
@louisponet
louisponet deleted the lopo/versioned-schema-attrs branch September 15, 2026 08:50
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