Skip to content

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

Open
@rrd108

Description

@rrd108

πŸ› 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions