telegraf / telegraf-session-firebase

Firebase session for Telegraf
MIT License
14 stars 4 forks source link

Does it request the whole session? #4

Open StasPonomaryov opened 4 years ago

StasPonomaryov commented 4 years ago

It's not clear with getting data from firebase. For example, if I get ctx.session.a or ctx.session.b does it request a whole session or just keys a or b?

KnorpelSenf commented 4 years ago

AFAIK it is not even possible to read partial documents with Firebase, in other words, the complete document is always requested and provided as ctx.session.