Open
Bug 1548060
Opened 5 years ago
Updated 2 years ago
Response JSON's raw preview does not show multi-line queries for GraphQL
Categories
(DevTools :: Netmonitor, defect, P3)
DevTools
Netmonitor
Tracking
(Not tracked)
NEW
People
(Reporter: Harald, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
What were you doing?
*Please tell us what
- Open Network panel on https://launchpad-star-wars.glitch.me/
- Inspect XHR request in Network panel or Console
- Open the Params tab and find the
query
entry the JSON body - Click that to get the raw value
Raw response (copied via Console)
{"operationName":"IntrospectionQuery","variables":{},"query":"query IntrospectionQuery {\n __schema {\n queryType {\n name\n }\n mutationType {\n name\n }\n subscriptionType {\n name\n }\n types {\n ...FullType\n }\n directives {\n name\n description\n locations\n args {\n ...InputValue\n }\n }\n }\n}\n\nfragment FullType on __Type {\n kind\n name\n description\n fields(includeDeprecated: true) {\n name\n description\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n}\n\nfragment InputValue on __InputValue {\n name\n description\n type {\n ...TypeRef\n }\n defaultValue\n}\n\nfragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n}\n"}
What happened?
Raw value is shown in a single line.
What should have happened?
Raw value shown with correct indention and line breaks. (Works in Chrome)
Anything else we should know?
Reported via https://discourse.mozilla.org/t/raw-mode-on-form-data-params/38202/3, this affects GraphQL debugging.
Reporter | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Blocks: netmonitor-response-sidepanel
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•