Closed equivalentideas closed 7 years ago
Specifically, the documentation error results from echoing the string output of a function that creates a query containing single quotes. Apparently it is important that a fix should not escape a double-quote mark, but must also perform both of these unrelated tasks.
Making the query "correct" was not the goal of the first attempt at fixing this. Fixing the documentation was. With single quotes, as suggested by the docs page, almost no more-complex queries will function as expected; you'll get either the wrong results, or an error.
👏
This has been extracted from https://github.com/openaustralia/morph/pull/1128
Here's an example of this in the interface here https://morph.io/documentation/api :