-
-
Notifications
You must be signed in to change notification settings - Fork 376
Closed
Labels
Description
Describe the bug
Altair does not render the response JSON nicely when a GraphQL response comes with a non-200 http status code.
To Reproduce
Steps to reproduce the behavior:
- Send a request to any GraphQL API that would return a non-200 http code for that request.
- The response JSON will be rendered as a string on the right pane.
Expected behavior
The response JSON should be rendered exactly like it is done for 200 responses.
Desktop (please complete the following information):
- OS: Windows
- Platform: Desktop app
- Version: 5.0.24
It would be nice if the error JSON was also rendered as a JSON and not as a string. It would let the users of the API to understand the error more easily.
vladshcherbin