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.

貢獻者指南