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
By adding these options, a lot of plugins etc. will not work by default without a fair bit of work, i.e. better-auth, which expects data to be returned as normal. For things like this, you would have to create your own adapter to support the data coming back in a different format.
I'd much rather be able to, either within the config, or methods themselves, pass in an extra key which declares whether the data should be returned directly, or alongside the 'isCached' result.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
By adding these options, a lot of plugins etc. will not work by default without a fair bit of work, i.e. better-auth, which expects data to be returned as normal. For things like this, you would have to create your own adapter to support the data coming back in a different format.
I'd much rather be able to, either within the config, or methods themselves, pass in an extra key which declares whether the data should be returned directly, or alongside the 'isCached' result.
Beta Was this translation helpful? Give feedback.
All reactions