graphql_query_compress library

Support for doing something awesome.

More dartdocs go here.

Classes

GraphqlQueryCompressor
GraphqlQueryCompressor is a injectable version from compressGraphqlQuery, it is specially designed for you, that like pretty codes Since the code is executed by call, you can use this class as an use case:
RequestSerializerWithCompressor
GQL will serialize your query in a human-readable format https://github.com/gql-dart/gql/blob/master/gql/lib/src/language/printer.dart#L185 RequestSerializerWithCompressor will compress the default output

Functions

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