Skip to content

3.0.1: registry keys name one class - #51

Merged
trissim merged 3 commits into
mainfrom
refactor/MR1-registry-duplicate-keys
Oct 12, 2026
Merged

trissim merged 3 commits into
mainfrom
refactor/MR1-registry-duplicate-keys

Conversation

@trissim

@trissim trissim commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Release 3.0.1. Companion to metaclass-registry 0.4.0 (a registry key names one class).

  • A lazy dataclass rebuilt from a declaration carries the declaration's __module__ at creation, so a registering metaclass sees the rebuilt class as the same declaration rather than a different class under the same key.
  • UISpecialFieldRegistry rejects a second declaration for a key instead of replacing the first.

ObjectState does not depend on metaclass-registry, so no dependency bound changes.

Local run, fresh venv, dependencies from PyPI, Python 3.12: 297 passed.

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings October 12, 2026 12:25
@trissim
trissim merged commit 731b125 into main Oct 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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