We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
options
operation
1 parent a497db3 commit c05dda8Copy full SHA for c05dda8
README.md
@@ -419,7 +419,7 @@ To use subscription you can use either [subscriptions-transport-ws](https://gith
419
420
`useSubscription(operation, callback)`
421
422
-- `options`: Object - The GraphQL operation has the following properties:
+- `operation`: Object - The GraphQL operation has the following properties:
423
- `query`: String (required) - the GraphQL query
424
- `variables`: Object (optional) - Any variables the query might need
425
- `operationName`: String (optional) - If your query has multiple operations, you can choose which operation you want to call.
0 commit comments