Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance support for different identity types in Identifier field #414

Merged
merged 2 commits into from
May 10, 2024

Conversation

subhashb
Copy link
Contributor

  • Accept a parameter called identity_type per Entity, that helps customize the type of identifier for itself
  • Consider the default IDENTITY_TYPE configured at the domain level
  • Auto-transform identifiers to relevant identity type value
    • UUID and STRING (with numerals) to INT
    • INT and UUID to STRING
    • STRING (with valid UUID string) to UUID

subhashb added 2 commits May 8, 2024 18:23
- Accept a parameter called `identity_type` per Entity, that helps customize the type of identifier for itself
- Consider the default `IDENTITY_TYPE` configured at the domain level
- Auto-transform identifiers to relevant identity type value
  - **UUID** and **STRING** (with numerals) to **INT**
  - **INT** and **UUID** to **STRING**
  - **STRING** (with valid UUID string) to **UUID**

Fixes #413
@subhashb subhashb self-assigned this May 10, 2024
@subhashb subhashb merged commit 86e77c1 into main May 10, 2024
4 checks passed
@subhashb subhashb deleted the 413-identifier-field-type-enhancements branch May 10, 2024 15:01
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