issues
search
Veronika2811
/
graphiql-app
IDE for GraphQl requests.
0
stars
0
forks
source link
Prettifying reguest graphQl
#26
Open
Veronika2811
opened
8 months ago
Veronika2811
commented
8 months ago
split the query into lines
Iterate through each line a. remove leading and trailing whitespaces b. ignore empty lines c. decrease the indentation level for closing braces d. add the indented line to the prettified query e. increase the indentation level for opening braces