expressjs/session

use proxies for session data

オープン

#46 opened on 2014/05/29

 (17 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (977 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,073 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド