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
julianpoma
changed the title
v2.0.0 - The return type of a basic select operation should not be Table[] | undefined.
v2.0.0 - ThrowOnError is not unwrapping the return type
Sep 20, 2022
Bug report
Describe the bug
The errors are not being unwrapped when calling
throwOnError
On a simple model definition like this one:
The return type of data is Profile[] | undefined, as you can see on the picture
Expected behavior
When unwrapping the error, the return type should be
Table[]
.System information
The text was updated successfully, but these errors were encountered: