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
Thanks! We could definitely be more specific here - string is valid for range types, Record<string, unknown> is for json/jsonb, and unknown[] is for array types.
I have a
uuid[]
field, and i have to filter data usingcontains
method.VSCode shows the .contains() accept a
string | Record<string, unknown> | unknown[]
as second param, but it will errors when i pass astring
value,If i pass an
string[]
, everything looks good.Maybe the generated type schema wrong? Or the JS lib not correctly handle them.
The text was updated successfully, but these errors were encountered: