Expand description
The Linear GraphQL transport.
The whole remote surface is one method — post a document and some variables,
get data back — and every typed operation in super::ops is written
against that trait rather than against reqwest. Tests then substitute a fake
that returns canned JSON, so the response-parsing and mapping logic is
exercised without a network, a token, or a mock HTTP server.
Structs§
Constants§
- ENDPOINT
- Linear’s production endpoint.
- ENDPOINT_
ENV - Overrides
ENDPOINT. Exists for pointing integration tests at a local stub; there is no reason to set it otherwise.
Traits§
- GraphQl
- A GraphQL endpoint that can answer a document. One method, so a test double is a few lines rather than a mock framework.