You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say you have something called struct StringFilter(string) that you use as the property in your proxy db instance struct.
Most likely you do implement From<String> for StringFilter where you sanitise the string prior to storing it.
Thing is... Right now if you have the property foo: StringFilter, you need to do query.foo("a".into()).
This QoL improvement would make it that you can do query.foo("a") instead, which is easier to use and also
is closer to the intent of the property, given that the StringFilter wrapper is only there to facilitate behaviour
we want from the database interaction, rather then a high level detail that a user should really care about.
The text was updated successfully, but these errors were encountered:
Let's say you have something called
struct StringFilter(string)
that you use as the property in your proxy db instance struct.Most likely you do implement
From<String> for StringFilter
where you sanitise the string prior to storing it.Thing is... Right now if you have the property
foo: StringFilter
, you need to doquery.foo("a".into())
.This QoL improvement would make it that you can do
query.foo("a")
instead, which is easier to use and alsois closer to the intent of the property, given that the
StringFilter
wrapper is only there to facilitate behaviourwe want from the database interaction, rather then a high level detail that a user should really care about.
The text was updated successfully, but these errors were encountered: