I'm messing around with the new query-based sync in 0.5. Really nice!
Is there a way to inform the types in my liveQuery that certain things are disallowed? For instance, maybe I want to say that filtering by branch is only supported for eq, not lt or gt, so I don't want intellisense to even present the options for lt or gt, or limit the properties that get presented for filtering. Even better, custom properties for the new query-based sync would be nice, as I have a filter on my API that doesn't correspond to a property on my object.
I've been able to hack this with
as
as
to a custom type in the
.where
.where
, but It'd be great if I could inform the query filtering from the collection typing.
I'm sure it exists just haven't found any docs on how to do it.