expressjs/session

use proxies for session data

Open

#46 geöffnet am 29. Mai 2014

Auf GitHub ansehen
 (17 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (977 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (6.073 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (2 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide