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
Argument of type 'RawBuilder' is not assignable to parameter of type 'DynamicReferenceBuilder | StringReference<Database, "pet">'.
Type 'RawBuilder' is missing the following properties from type 'DynamicReferenceBuilder': #private, dynamicReference, refType
Fortunately this can be ignored by sticking a // @ts-ignore comment above the erroring line - the query executes as expected - but this shouldn't be necessary.
The text was updated successfully, but these errors were encountered:
Assume I have a
pet
table which contains entries like:123
{ "breakfast": 8, "walk": 15, "dinner": 18, ...}
I'm able to use the RawBuilder when ordering at a query level, and TypeScript has no issue with this:
https://kyse.link/4SqYL
However if I do the same when calling
fn.jsonAgg
, TypeScript errors:https://kyse.link/61vQv
Fortunately this can be ignored by sticking a
// @ts-ignore
comment above the erroring line - the query executes as expected - but this shouldn't be necessary.The text was updated successfully, but these errors were encountered: