You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -76,20 +76,20 @@ const GraphQLRouter =
76
76
ObsRouter >
77
77
{
78
78
Router, // Router that is initialized by server.
79
-
path='/graphql', // endpoint for graphQL queries, default to '/graphql'
79
+
path:'/graphql', // endpoint for graphQL queries, default to '/graphql'
80
80
typeDefs: types, // graphQL typeDefs
81
81
resolvers: resolvers, // graphQL resolvers
82
82
usePlayground:true, // Boolean to allow for graphQL playground, default to false
83
83
useCache:true, // Boolean to toggle all cache functionality, default to true
84
84
redisPort:6379, // Desired redis port, default to 6379
85
85
policy:'allkeys-lru', // Option select your Redis policy, default to allkeys-lru
86
-
maxmemory='2000mb', // Option to select Redis capacity, default to 2000mb
86
+
maxmemory:'2000mb', // Option to select Redis capacity, default to 2000mb
87
87
searchTerms: [] //Optional array to allow broad queries to store according to search fields so individual searches are found in cache
88
88
persistQueries:true, //Boolean to toggle the use of persistent queries, default to false - NOTE: if using, must also be enabled in client wrapper
89
-
hashTableSize=16, // Size of hash table for persistent queries, default to 16
90
-
maxQueryDepth=0, // Maximum depth of query, default to 0
89
+
hashTableSize:16, // Size of hash table for persistent queries, default to 16
90
+
maxQueryDepth:0, // Maximum depth of query, default to 0
91
91
customIdentifier: ['__typename', '_id'], // keys to be used to idedntify and normalize object
92
-
mutationTableMap= {}, //Object where keys are add mutation types and value is an array of affected tables (e.g. {addPlants: ['plants'], addMovie: ['movies']})
92
+
mutationTableMap: {}, //Object where keys are add mutation types and value is an array of affected tables (e.g. {addPlants: ['plants'], addMovie: ['movies']})
0 commit comments