Skip to main content

max / goingson

validation: adapt to tagtree TagError enum TagError is now an enum; use its Display instead of the removed .0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-11 01:50 UTC
Commit: 66c36af1797ab66f48cbd8d903c9a46b7d826bdf
Parent: 64b973b
1 file changed, +1 insertion, -1 deletion
@@ -21,7 +21,7 @@ const GO_TAG_CONFIG: tagtree::TagConfig = tagtree::TagConfig {
21 21 /// Validate a single tag against the GoingsOn config.
22 22 fn validate_tag(tag: &str) -> Result<(), CoreError> {
23 23 tagtree::validate_with(tag, &GO_TAG_CONFIG)
24 - .map_err(|e| CoreError::validation("tags", e.0))
24 + .map_err(|e| CoreError::validation("tags", e.to_string()))
25 25 }
26 26
27 27 /// Validates that a required string field is non-empty and within a max length.