expressjs/session

use proxies for session data

开放

#46 创建于 2014年5月29日

 (17 条评论) (0 个反应) (0 位负责人)JavaScript (977 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (6,073 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南