[API] GraphQL docs mutation examples have broken syntax

If you copy paste the example code it won’t work because there is an extra set of parentheses added. I can see this turning people away from adopting the GraphQL API if they aren’t familiar with GraphQL syntax.

Also, the example code should probably be in a code block instead of a code line formatting?

This causes Syntax Error:

mutation {
    myDbName({id:{is: "AAAA-BBBB-CCCC"}}){
        update(name:"Updated"){message}
    }
}

This does not:

mutation {
    myDbName(id:{is: "AAAA-BBBB-CCCC"}){
        update(name:"Updated"){message}
    }
}
2 Likes

Looks like it was fixed :hugs: