gql_transform_link 0.1.6-alpha+1588797044391 copy "gql_transform_link: ^0.1.6-alpha+1588797044391" to clipboard
gql_transform_link: ^0.1.6-alpha+1588797044391 copied to clipboard

outdated

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

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
pub points
90%
popularity

Publisher

verified publishergql-dart.dev

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

gql_exec, gql_link

More

Packages that depend on gql_transform_link