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
and using @zodios/react to call the endpoint. the object gets correctly serialized on the client (JSON.stringify -> encodeURIComponent) and TS inference also works fine, but when I actually call the endpoint, it returns a validation error:
it looks like the query is not deserialized back into an object before validation. I found this might be taking care of that, but it doesn't pass the conditions apparently
I have this in the api def:
and using
@zodios/react
to call the endpoint. the object gets correctly serialized on the client (JSON.stringify
->encodeURIComponent
) and TS inference also works fine, but when I actually call the endpoint, it returns a validation error:it looks like the query is not deserialized back into an object before validation. I found this might be taking care of that, but it doesn't pass the conditions apparently
using an ugly workaround for now
The text was updated successfully, but these errors were encountered: