-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
The docs for FieldPath say
This method splits on the character . and disallows the characters ``*/[]. To create a FieldPath whose components have those characters, call the constructor.
When I try using a UUID string (ex: a344a6ea-9911-40a8-bd99-00f0b8d61155) it fails with:
"Non-alphanum char in element with leading alpha: {}"
The regex used is at
| _LEADING_ALPHA_INVALID = re.compile("^[_a-zA-Z][_a-zA-Z0-9]*[^_a-zA-Z0-9]") |
Metadata
Metadata
Assignees
Labels
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.