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
// Property() has type *KindQueryProperty// OtherThing() has type *KindQueryOtherThing// Both would have Eq, Lt, Gt, Gte, Lte, etc. of the type appropriate for that propertyq:=KindQuery().Property().Eq(1).OtherThing().Lt("value")
We could add a tool to generate a per-model typed Query object. So instead of:
You would have:
This would avoid pitfalls around runtime type mismatches and typos.
And then you win the world :)
The text was updated successfully, but these errors were encountered: