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
What should be the errorResponseSchema when the transformErrorResponse is used?
Here is the example of my configuration and there is a type error for the errorResponseSchema however it works in the actual app (sorry, I didn't integrate the actual API into the demo app).
If I will replace it with errorResponseSchema, the TS won't complain but the schema validation will fail with the missing data property.
The text was updated successfully, but these errors were encountered:
What should be the
errorResponseSchema
when thetransformErrorResponse
is used?Here is the example of my configuration and there is a type error for the
errorResponseSchema
however it works in the actual app (sorry, I didn't integrate the actual API into the demo app).If I will replace it with
errorResponseSchema
, the TS won't complain but the schema validation will fail with the missingdata
property.The text was updated successfully, but these errors were encountered: