Commit 6f964e88 authored by Fernando's avatar Fernando Committed by Phil Hughes

Enable assumeImmutableResults to enforce immutability

parent e430a1ed
......@@ -15,6 +15,7 @@ export default () => {
}
const defaultClient = createDefaultClient(resolvers, {
assumeImmutableResults: true,
cacheConfig: {
dataIdFromObject: (object) => {
return object.id || defaultDataIdFromObject(object);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment