fix: allow numbers in object IDs

This commit is contained in:
2025-03-15 15:00:04 -04:00
parent 28b11316e5
commit 25f1554870

View File

@@ -7,7 +7,7 @@ use snafu::Snafu;
pub struct ObjectId(Arc<str>);
#[derive(Debug, Clone, Snafu)]
#[snafu(display("expected a lowercase ASCII alphabetical character (i.e. a through z) or an underscore (i.e. _) but encountered {encountered}"))]
#[snafu(display("expected a lowercase ASCII alphabetical character (i.e. a through z) or a digit (i.e. 0 through 9) or an underscore (i.e. _) but encountered {encountered}"))]
pub struct ObjectIdParsingError {
encountered: char,
}