gql_transform_link 1.0.1-alpha+1706372327799 copy "gql_transform_link: ^1.0.1-alpha+1706372327799" to clipboard
gql_transform_link: ^1.0.1-alpha+1706372327799 copied to clipboard

GQL Link to transform Requests and Responses. May be used to update context, document, variables, data, errors, etc.

MIT License PRs Welcome Watch on GitHub Star on GitHub Watch on GitHub Discord

GQL Link to transform Requests and Responses. May be used to update context, document, variables, data, errors, etc.

Usage #

A simple usage example:

TransformLink(
  requestTransformer: (req) => req.withContextEntry(
    RequestExtensionsThunk((req2) => req2.operation.variables),
  ),
  responseTransformer: (resp) => resp.withContextEntry(
    ResponseExtensions("an extension"),
  ),
);

Features and bugs #

Please file feature requests and bugs at the GitHub.

0
likes
0
points
443k
downloads

Publisher

verified publishergql-dart.dev

Weekly Downloads

GQL Link to transform Requests and Responses. May be used to update context, document, variables, data, errors, etc.

Repository (GitHub)
View/report issues

Topics

#graphql #gql #gql-link

License

unknown (license)

Dependencies

gql_exec, gql_link

More

Packages that depend on gql_transform_link