Skip to content

feat: add preventTouch option to Session.save method#1084

Open
poacher2k wants to merge 1 commit intoexpressjs:masterfrom
poacher2k:master
Open

feat: add preventTouch option to Session.save method#1084
poacher2k wants to merge 1 commit intoexpressjs:masterfrom
poacher2k:master

Conversation

@poacher2k
Copy link

Fixes #870 by adding an optional preventTouch parameter to Session.save which will prevent store.touch from being called, res from being accessed, and Next.js from complaining.

Fully backwards compatible, and tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support autoCommit=false for Next.js v12 compatibility

1 participant