Skip to content

Commit be590b9

Browse files
committed
Add batch link to docs
1 parent 6a07ebd commit be590b9

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

docs/source/_sidebar.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ items:
195195
href: ./api/link/apollo-link-base-batch-http
196196
- label: BatchHttpLink
197197
href: ./api/link/apollo-link-batch-http
198+
- label: BatchLink
199+
href: ./api/link/apollo-link-batch
198200
- label: ClientAwarenessLink
199201
href: ./api/link/apollo-link-client-awareness
200202
- label: ErrorLink
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: BatchLink
3+
description: Core batching functionality for grouping multiple GraphQL operations
4+
---
5+
6+
<DocBlock
7+
canonicalReference="@apollo/client/link/batch!BatchLink:class"
8+
customOrder={["summary", "remarks", "example"]}
9+
/>
10+
11+
## Constructor signature
12+
13+
```ts
14+
constructor(
15+
options?: BatchLink.Options
16+
): BatchLink
17+
```
18+
19+
## Types
20+
21+
<InterfaceDetails
22+
canonicalReference="@apollo/client/link/batch!BatchLink.Options:interface"
23+
headingLevel={3}
24+
displayName="BatchLink.Options"
25+
/>
26+

0 commit comments

Comments
 (0)