From 15e2103f6695575b040d2153c4f8a3e033616848 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Sat, 16 Aug 2025 12:55:38 -0300 Subject: [PATCH] feat: handle meta: column type pattern Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- src/modes/common.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/modes/common.rs b/src/modes/common.rs index 10fb645..6dda253 100644 --- a/src/modes/common.rs +++ b/src/modes/common.rs @@ -73,7 +73,13 @@ pub enum ColumnType { impl ColumnType { /// Returns a Result with error message if the string is not a valid ColumnType pub fn from_str(s: &str) -> anyhow::Result { - Ok(Self::try_from(s)?) + if s.starts_with("meta:") { + // Handle meta: pattern - this is still a Meta column type + Ok(ColumnType::Meta) + } else { + // Handle regular column types + Ok(Self::try_from(s)?) + } } }