Migrated from halcyonnouveau/clorinde#106, originally reported by @TimDiekmann on 2025-05-30.
When parameters in queries are nullable, the generated query takes a reference to an option rather than an optional reference.
It's unidiomatic, to pass &Option<T> because with Option::as_ref() you can convert &Option<T> to Option<&T> but you may cannot create the reversed easily.
Is it possible to change that behavior?
When parameters in queries are nullable, the generated query takes a reference to an option rather than an optional reference.
It's unidiomatic, to pass
&Option<T>because withOption::as_ref()you can convert&Option<T>toOption<&T>but you may cannot create the reversed easily.Is it possible to change that behavior?