Fix twenty-server integration test on main (#14905)
Following https://github.com/twentyhq/twenty/pull/14869 Dynamically clearing the cache, as one entry was forgotten It seems like a permission test deletes a role that's expected to be existing in following tests, as now cache is getting invalidated tests are failing Seems to be related to https://discord.com/channels/1130383047699738754/1423768505911869460 ## Singleton local cache key collision When set for the first time caches local keys looks like `workspaceId:undefined", singleton is shared between several cache instances If the given key is undefined it will read on other entity cache entry.
This commit is contained in:
-5
@@ -95,11 +95,6 @@ export const useGraphQLErrorHandlerHook = <
|
||||
'Anonymous Operation';
|
||||
const workspaceInfo = extractWorkspaceInfo(args.contextValue.req);
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(
|
||||
`[GQL Execute] Processing GQL query ${opName} on workspace ${workspaceInfo?.id}`,
|
||||
);
|
||||
|
||||
return {
|
||||
onExecuteDone(payload) {
|
||||
const handleResult: OnExecuteDoneHookResultOnNextHook<object> = ({
|
||||
|
||||
Reference in New Issue
Block a user