Closed interpretor closed 1 year ago
Properties with null values aren't copied by defu
.
As mentioned here, we would need to exchange defu
with another module which doesn't ignore null, or change the expiryInSeconds
option to use false
instead of null
.
@BracketJohn What's your opinion?
Environment
Linux
v18.12.1
3.0.0
1.0.0
npm@8.19.2
vite
runtimeConfig
,nitro
,modules
,build
,session
@nuxtjs/tailwindcss@6.1.3
,@sidebase/nuxt-session@0.2.5
-
Reproduction
No response
Describe the bug
nuxt.config.ts
setsession.session.expiryInSeconds
tonull
moduleOptions
inModuleDefinition<ModuleOptions>.setup
will be the default value of600
Setting
expiryInSeconds
to another value other thannull
just works fine.Additional context
No response
Logs
No response