expressjs/session

use proxies for session data

Open

#46 ouverte le 29 mai 2014

Voir sur GitHub
 (17 commentaires) (0 réactions) (0 assignés)JavaScript (977 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (6 073 stars)
Métriques de merge PR
 (Merge moyen 8j) (2 PRs mergées en 30 j)

Description

So that we can check that the store actually exists (#4) and whatever else we want.

req.session.set('thing.property', stuff)

req,session.get('thing.property')

Would be removed of favour of Proxies, eventually. In like a decade when they actually land.

A big issue would be people being idiots and assigning stuff onto the data object or get()-ed objects.

Guide contributeur