Skip to content

Feat - Harmonize UID with Key validator - #29

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

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

Conversation

@kodumbeats

Copy link
Copy Markdown
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.

@kodumbeatskodumbeats changed the title Feat uid validator expandedFeat - Harmonize UID with Key validatorJun 28, 2021
@eldadfux
eldadfux merged commit 9bf93a0 into mainJun 29, 2021
@abnegate
abnegate deleted the feat-uid-validator-expanded branch November 23, 2023 01:51
Sign up for freeto 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

@kodumbeats@eldadfux