fix: allow numbers in object IDs
This commit is contained in:
@@ -19,6 +19,7 @@ impl FromStr for ObjectId {
|
||||
for c in s.chars() {
|
||||
match c {
|
||||
'a'..='z' => {}
|
||||
'0'..='9' => {}
|
||||
'_' => {}
|
||||
_ => return Err(ObjectIdParsingError { encountered: c }),
|
||||
}
|
||||
|
Reference in New Issue
Block a user