Skip to content

Feat - Harmonize UID with Key validator#29

Merged
eldadfux merged 6 commits intomainfrom
feat-uid-validator-expanded
Jun 29, 2021
Merged

Feat - Harmonize UID with Key validator#29
eldadfux merged 6 commits intomainfrom
feat-uid-validator-expanded

Conversation

@kodumbeats
Copy link
Contributor

This PR harmonizes the UID and Key validators. Keys and UIDs must both satisfy the following:

  • Must be string
  • Must be alphanumeric + underscore "_"
  • No leading underscore
  • Maximum of 32 chars

Tests
Harmonized the tests as well, refactoring the expected value to first assert param and restructured for clarity.

@kodumbeats kodumbeats changed the title Feat uid validator expanded Feat - Harmonize UID with Key validator Jun 28, 2021
@eldadfux eldadfux merged commit 9bf93a0 into main Jun 29, 2021
@abnegate abnegate deleted the feat-uid-validator-expanded branch November 23, 2023 01:51
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