Closed Exzorcist closed 11 months ago
prettifying this:
query{capsules{status}}
results in this:
query{
capsules{
status}
}
subscription Sub {
users {id}
}
mutation Mut {
delete_users(where:{id: {_eq:"df"}
}) {...someFragmant}}
fragment someFragmant on users_mutation_response {affected_rows returning {id}}
results in:
subscription Sub {
users {
id}
}
mutation Mut {
delete_users(where: {
id: {
_eq:
"df"}
}
) {
...someFragmant}
}
fragment someFragmant on users_mutation_response {
affected_rows returning {
id}
}
I think there should be no new line after "_eq:", new line after "affected_rows", and curly braces after "id" and ""df"" should be on a new line
Answer from docs: