We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f84d4a commit ddf2c0aCopy full SHA for ddf2c0a
1 file changed
packages/cache/src/plugin.ts
@@ -61,15 +61,11 @@ export function defineCachePlugin(pluginOptions: CachePluginOptions) {
61
let json: string
62
63
if (client.$auth) {
64
- const userId = Object.keys(client.$auth)
65
- .filter(key => client.$schema.models[client.$schema.authType!]!.idFields.includes(key))
66
- .join('_')
67
-
68
json = stableHash({
69
args,
70
model,
71
operation,
72
- userId,
+ auth: client.$auth,
73
})
74
} else {
75
0 commit comments