mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 09:48:44 +00:00
todo
This commit is contained in:
1 parent
d90df6f8b8
commit
f40a292b1e
1 file changed
+5
@@ -6,6 +6,11 @@ use strum::EnumCount;
|
||||
#[cfg(test)]
|
||||
use strum::EnumIter;
|
||||
|
||||
// TODO(bt,2023-10-25): Group these into three enums -
|
||||
// TokenPrefix, DeprecatedTokenPrefix, (private) RetiredTokenPrefix
|
||||
// Then make the same uniqueness assertions.
|
||||
// Assert the new token prefixes only end with underscore.
|
||||
|
||||
/// Each entity type in our system gets a unique prefix.
|
||||
/// Older entities have prefixes ending in ':', but newer entities use the Stripe-style "_"
|
||||
/// separator, which makes it easy to select and copy entire tokens with just mouse clicks across
|
||||
|
||||
Reference in new issue
Block a user