mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-02 21:34:30 +08:00
fix: pr feedback
This commit is contained in:
parent
f439b7ad31
commit
4a361d8eb1
@ -255,7 +255,14 @@ const GET_ACCOUNTS = gql`
|
||||
uiapi {
|
||||
query {
|
||||
Account(first: 10) {
|
||||
edges { node { Id Name @optional { value } } }
|
||||
edges {
|
||||
node {
|
||||
Id
|
||||
Name @optional {
|
||||
value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,7 +55,6 @@ When you need more than 200 records per page or more than 4,000 total records, s
|
||||
|
||||
- **`first` must be 200–2000** when `upperBound` is set. Values below 200 are invalid.
|
||||
- **`upperBound`** declares the estimated total record count and enables extended pagination.
|
||||
- **Child pagination coupling** — If the parent uses upperBound pagination, the child must also use upperBound. You cannot paginate parent and child simultaneously; if a child uses `after`, the parent must be limited to a single result (`first: 1`).
|
||||
|
||||
```graphql
|
||||
# Standard pagination
|
||||
|
||||
Loading…
Reference in New Issue
Block a user