Skip to content

Conversation

@barbibulle
Copy link
Collaborator

This adds a class-based approach to advertising data (and other "data types"). The old ad-hoc model is still supported, but this is a cleaner approach with better type safety.
The main class DataType is defined in core.py but the subclasses are defined in data_types.py, to avoid circular dependencies.

@barbibulle barbibulle requested a review from zxzxwu August 29, 2025 20:29
Copy link
Collaborator

@zxzxwu zxzxwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome!

@barbibulle barbibulle merged commit 59d9978 into main Aug 30, 2025
57 checks passed
@zxzxwu zxzxwu deleted the gbg/data-types branch December 31, 2025 18:22
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