When writing a GraphQL-client that builds query strings manually, is there a way to write unit tests that checks that the syntax of a graphQL query is valid? Like using some official parser and checking it does not find syntax errors?
Usage of libraries is allowed in the answer, (though obviously if it's a library to not use raw strings to write queries, then the question becomes moot).