Skip to content

Use Struct aliases for backwards compatibility#2741

Open
dpkp wants to merge 10 commits intomasterfrom
dpkp/struct-aliases
Open

Use Struct aliases for backwards compatibility#2741
dpkp wants to merge 10 commits intomasterfrom
dpkp/struct-aliases

Conversation

@dpkp
Copy link
Owner

@dpkp dpkp commented Mar 18, 2026

Updates all old protocol field names to match the new names from json schema files. Add ALIAS feature to old Struct for both getattr and setattr. Adds aliases for all "old" top-level field names that were changed. I do not think inner field name changes need aliases because there is no way to use them. Inner data is always accessed via tuples by position.

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.

1 participant