Internal Client deprecated
The internal client is deprecated and will be superseded by the new operations client.
Last supported version: 0.175.0
The operations client is based on the TypeScript client and gives you the same API. Unlike the internal client, it supports Typescript operations and can be used to call internal and public operations.
Migration
The internal client is used in the following places.
wundergraph.server.ts
- Server hooks and GraphQL server contextWebhooks
- Webhook handler contextTypeScript Operations
- TypeScript operation context
Queries
1
2
3
4
5
Becomes:
1
2
3
4
5
6
Mutations
1
2
3
4
5
Becomes:
1
2
3
4
5
6
Subscriptions
Subscriptions are not supported by the internal client, but can be used with the operations client.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18