From 9002c5c0ba7426a03005878592405a476aca3a71 Mon Sep 17 00:00:00 2001 From: Egor Vorontsov Date: Tue, 13 Jan 2026 00:58:26 +0300 Subject: [PATCH] Implemented `FilterableValue` for `Option`. Resolves #3992 --- crates/lib/src/filterable_value.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/lib/src/filterable_value.rs b/crates/lib/src/filterable_value.rs index d0039823d09..fc4bbcdd639 100644 --- a/crates/lib/src/filterable_value.rs +++ b/crates/lib/src/filterable_value.rs @@ -60,6 +60,10 @@ macro_rules! impl_filterable_value { impl FilterableValue for $arg { type Column = $col; } + impl Private for Option<$arg> {} + impl FilterableValue for Option<$arg> { + type Column = Option<$col>; + } }; (@one $arg:ty: Copy) => { impl_filterable_value!(@one $arg => $arg);