compressGraphqlQuery function
compressGraphqlQuery eliminate unnecessary characters from a GraphQL query. You may use GraphqlQueryCompressor to inject this package and make your code testable
Implementation
String compressGraphqlQuery(String query) =>
GraphqlQueryCompressor.instance(query);