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
Describe the bug
If a request fails react query throws this error because data cannot be undefined Query data cannot be undefined. Please make sure to return a value other than undefined from your query function
To Reproduce
Steps to reproduce the behavior:
Use any query generated by this tool and make it throw an error
OpenAPI spec file
If possible, please upload the OpenAPI spec file.
Expected behavior
Allow adding a fallback value like null, or an empty array or empty string
Screenshots
OS: [e.g. macOS]
Version [e.g. v1.0.0]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
If a request fails react query throws this error because data cannot be undefined
Query data cannot be undefined. Please make sure to return a value other than undefined from your query function
To Reproduce
Steps to reproduce the behavior:
OpenAPI spec file
If possible, please upload the OpenAPI spec file.
Expected behavior
Allow adding a fallback value like null, or an empty array or empty string
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: