Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Storage does not show memory stored key-values #642

Open
rrd108 opened this issue Mar 29, 2024 · 0 comments
Open

fix: Storage does not show memory stored key-values #642

rrd108 opened this issue Mar 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rrd108
Copy link

rrd108 commented Mar 29, 2024

πŸ› The bug

If I create a nitro storage with memory driver, in the dev tools none of the set values are displayed, however from the server they can be read and write.

πŸ› οΈ To reproduce

https://stackblitz.com/edit/nuxt-starter-kr3v9h?file=nuxt.config.ts

🌈 Expected behavior

On the stackblitz link you have to open dev tools, select Server Routes and send a get request to the api/test endpoint.

The endpoint use useStorage to save some data to the shield and to the db storage.

After this if you select Storage tab on devtools you can see the data in db storage, but shield storage is shown as empty.

Data is saved in the shield storage, you can read it from any server middleware and enpoints, but the dev tools does not display them.

ℹ️ Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant