Skip to content

Commit afe3291

Browse files
committed
add back clientBatchCheck docs
1 parent eb6229f commit afe3291

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ const { result } = await fgaClient.batchCheck({
516516
```
517517

518518
If you are using an OpenFGA version less than 1.8.0, you can use the `clientBatchCheck` function,
519-
which calls `check` in parallel.
519+
which calls `check` in parallel. It will return `allowed: false` if it encounters an error, and will return the error in the body.
520+
If 429s or 5xxs are encountered, the underlying check will retry up to 3 times before giving up.
520521

521522
```javascript
522523
const { responses } = await fgaClient.clientBatchCheck([{

0 commit comments

Comments
 (0)