expressjs/session

use proxies for session data

Open

#46 aberto em 29 de mai. de 2014

Ver no GitHub
 (17 comments) (0 reactions) (0 assignees)JavaScript (977 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (6.073 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (2 fundiu PRs em 30d)

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.

Guia do colaborador