compressGraphqlQuery function

String compressGraphqlQuery(
  1. String query
)

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);