Skip to content

Primary attributes#623

Merged
abnegate merged 29 commits intomainfrom
primary-attribute
Aug 4, 2025
Merged

Primary attributes#623
abnegate merged 29 commits intomainfrom
primary-attribute

Conversation

@fogelito
Copy link
Contributor

@fogelito fogelito commented Jul 13, 2025

Previous PR
#243

Summary by CodeRabbit

  • New Features

    • Introduced support for a new id attribute type with explicit validation for integer and string (MongoDB ObjectId) formats.
    • Enabled collections and documents to include and index the new id attribute type.
    • Added sequence value validation tied to the id attribute type.
    • Database adapters now recognize and handle the new id attribute type with appropriate SQL type mappings.
  • Bug Fixes

    • Improved handling of tenant and sequence fields for consistent data typing and validation.
  • Tests

    • Extended test coverage for the id attribute type, including creation, querying, edge cases (null, zero), and validation behavior across different ID types.
    • Updated validators and query tests to incorporate the new id attribute type.
  • Documentation

    • Clarified attribute type definitions and validation logic through updated in-code comments.

Loading
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