Skip to content

Commit

Permalink
Disable subscriptions by default
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Mar 26, 2021
1 parent c640a1d commit bc7a32c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Docs/GraphQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The ASP.NET Core GraphQL project template uses `dotnet new` to enable you to tur
#### GraphQL

- **Mutations** (Default=On) - Add [GraphQL](http://graphql.org/) mutations to change objects.
- **Subscriptions** (Default=On) - Add [GraphQL](http://graphql.org/) subscriptions to be notified when objects change.
- **PersistedQueries** (Default=Off) - Add GraphQL active persisted queries which cache queries in Redis so the client only needs to send a query ID and not a full query.
- **Subscriptions** (Default=Off) - Add [GraphQL](http://graphql.org/) subscriptions to be notified when objects change (Requires a running instance of redis).
- **PersistedQueries** (Default=Off) - Add GraphQL active persisted queries which cache queries in Redis so the client only needs to send a query ID and not a full query (Requires a running instance of redis).

#### Project

Expand Down
6 changes: 3 additions & 3 deletions Source/GraphQLTemplate/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,15 @@
"Subscriptions": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "true",
"description": "Add GraphQL subscriptions to be notified when objects change."
"defaultValue": "false",
"description": "Add GraphQL subscriptions to be notified when objects change (Requires a running instance of redis)."
},
// PersistedQueries
"PersistedQueries": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Add GraphQL active persisted queries which cache queries in Redis so the client only needs to send a query ID and not a full query."
"description": "Add GraphQL active persisted queries which cache queries in Redis so the client only needs to send a query ID and not a full query (Requires a running instance of redis)."
},
// Forwarded Headers
"ForwardedHeaders": {
Expand Down

0 comments on commit bc7a32c

Please sign in to comment.