Open rrd108 opened 6 months ago
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.
https://stackblitz.com/edit/nuxt-starter-kr3v9h?file=nuxt.config.ts
On the stackblitz link you have to open dev tools, select Server Routes and send a get request to the api/test endpoint.
Server Routes
api/test
The endpoint use useStorage to save some data to the shield and to the db storage.
useStorage
shield
db
After this if you select Storage tab on devtools you can see the data in db storage, but shield storage is shown as empty.
Storage
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.
No response
đ 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 theapi/test
endpoint.The endpoint use
useStorage
to save some data to theshield
and to thedb
storage.After this if you select
Storage
tab on devtools you can see the data indb
storage, butshield
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