Skip to content

Commit

Permalink
optimize docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rose-a committed Apr 30, 2024
1 parent c8b6254 commit 6be7d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ subscription.Dispose();

APQ can be enabled by configuring `GraphQLHttpClientOptions.EnableAutomaticPersistedQueries` to resolve to `true`.

The client will automatically disable APQ if the server responds with a `PersistedQueryNotSupported` error or if a HTTP status code between 400 and 600 is returned.
By default, the client will automatically disable APQ for the current session if the server responds with a `PersistedQueryNotSupported` error or a 400 or 600 HTTP status code.
This can be customized by configuring `GraphQLHttpClientOptions.DisableAPQ`.

To re-enable APQ after it has been automatically disabled, `GraphQLHttpClient` needs to be disposed an recreated.
Expand Down

0 comments on commit 6be7d9c

Please sign in to comment.