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
WebStorm stops complaining about it, but then I'm losing typing for userRoles so I can't do
console.log(userRole?.roles)
I mean it works but I'm getting TS2339: Property roles does not exist on type XataRecord<UsersRolesRecord>. To get rid of this error I need to switch back to .select(["roles"]). The other option is to call read function on userRoles:
Describe the bug
IntelliJ (2023.3) Typescript language service raises argument warnings with Xata SDK (0.28) calls such as
select
andfilter
.With "email" being a string column:
Filter:
Select:
The text was updated successfully, but these errors were encountered: