Skip to content

docs: explain custom store inheritance#1129

Open
vibhor-aggr wants to merge 1 commit into
expressjs:masterfrom
vibhor-aggr:docs/store-implementation-guidance
Open

docs: explain custom store inheritance#1129
vibhor-aggr wants to merge 1 commit into
expressjs:masterfrom
vibhor-aggr:docs/store-implementation-guidance

Conversation

@vibhor-aggr

Copy link
Copy Markdown

Summary

  • document that custom stores should inherit from session.Store
  • explain the shared regenerate, load, and createSession behavior provided by the base store
  • clarify that store implementations usually only need to provide the persistence methods listed below

Closes #349

Verification

  • node scripts/lint-readme.js
  • git diff --check

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.

update Readme to include details on extending Store implementation from store.js

1 participant