GQL Link to transform Requests and Responses. May be used to update context, document, variables, data, errors, etc.
A simple usage example:
TransformLink(
requestTransformer: (req) => req.withContextEntry(
RequestExtensionsThunk((req2) => req2.operation.variables),
),
responseTransformer: (resp) => resp.withContextEntry(
ResponseExtensions("an extension"),
),
);
Please file feature requests and bugs at the GitHub.