-
Notifications
You must be signed in to change notification settings - Fork 11
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
Document Requirements for Valid Keys and Namespaces #746
Comments
Regexes class in at_commons contains regexes used in validating the keys (As in key-value pair). Following are the constants used: static const charsInNamespace = r'([\w])+'; Validation Rules for Regular Expressions1.
|
Regex | Purpose |
---|---|
charsInNamespace |
Validates that a namespace consists of word characters only (letters, digits, underscores). |
charsInAtSign |
Validates characters allowed after an "at sign" (@ ): word characters, hyphens, and underscores. |
charsInEntity |
Validates entities containing word characters, dots, hyphens, underscores, quotes, or asterisks. |
allowedEmoji |
Validates Unicode emojis and some special symbols like © and ® . |
The link shared here contains documentation for the limitations for what is allowed for the key in Hive DB: https://hivedb.dev/#/more/limitations?id=limitations |
Due to this piece of code in server, we are able to accept non-ascii chars and make them compatible with Hive : String prepareKey(String key) { |
Describe the bug
Description:
As of today, the information regarding:
...is documented directly in the code. However, this needs to be clearly documented in a standalone document, making it accessible to all developers and stakeholders without requiring code inspection.
Steps to reproduce
NA
Expected behavior
This documentation should include:
Screenshots
No response
Smartphones
Were you using an atApplication when the bug was found?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: