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
Q.project(S.Struct(SomeModel.pick("id", "name")) is a mouth full
Perhaps introduce Q.select as shorthand; Q.select(”id”, “name”) = Q.project(S.Struct(SomeModel.pick(”id”, “name”)))
or just allow Q.project to receive either field names; “id”, “name”, or fields: SomeModel.pick(”id”, “name”), next to a whole Schema.
The text was updated successfully, but these errors were encountered:
Q.project(S.Struct(SomeModel.pick("id", "name"))
is a mouth fullPerhaps introduce
Q.select
as shorthand;Q.select(”id”, “name”)
=Q.project(S.Struct(SomeModel.pick(”id”, “name”)))
or just allow
Q.project
to receive either field names;“id”, “name”
, or fields:SomeModel.pick(”id”, “name”)
, next to a whole Schema.The text was updated successfully, but these errors were encountered: