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
+53-39Lines changed: 53 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,9 @@
22
22
23
23
## Features
24
24
25
+
- (New!) Server-side cache invalidation only on affected entries
26
+
- (New!) Flexible cache responds with only data requested from selected fields
27
+
- (New!) Developer tool for Obsidian is now updated to Manifest version 3 and invalid Bootstrap module imports were also fixed along with CodeMirror dependencies
25
28
- GraphQL query abstraction and caching improving the performance of your app
26
29
- SSR React wrapper, allowing you to cache in browser
27
30
- Configurable caching options, giving you complete control over your cache
@@ -36,7 +39,6 @@ Obsidian is Deno's first native GraphQL caching client and server module. Boasti
36
39
37
40
With additional support for use in server-side rendered React apps built with Deno, full stack integration of Obsidian enables a fast and flexible caching solution.
useCache:true, //Boolean to toggle all cache functionality
64
-
usePlayground:true, //Boolean to allow for graphQL playground
65
-
useQueryCache:true, //Boolean to toogle full query cache
66
-
useRebuildCache:true, //Boolean to toggle rebuilding from normalized data
67
-
customIdentifier: ["id", "__typename"]
68
-
69
-
});
59
+
constGraphQLRouter=
60
+
(await ObsidianRouter) <
61
+
ObsRouter >
62
+
{
63
+
Router,
64
+
typeDefs: types,
65
+
resolvers: resolvers,
66
+
redisPort:6379, //Desired redis port
67
+
useCache:true, //Boolean to toggle all cache functionality
68
+
usePlayground:true, //Boolean to allow for graphQL playground
69
+
useQueryCache:true, //Boolean to toogle full query cache
70
+
useRebuildCache:true, //Boolean to toggle rebuilding from normalized data
71
+
customIdentifier: ['id', '__typename'],
72
+
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