02:46:33
| * rmg | quit (Remote host closed the connection) |
03:17:07
| * rmg | joined |
03:21:33
| * rmg | quit (Ping timeout: 240 seconds) |
03:43:18
| * rmg | joined |
05:00:06
| * rmg | quit (Remote host closed the connection) |
05:29:55
| * piscisaureus | joined |
05:46:40
| * bajtos | joined |
06:00:44
| * rmg | joined |
06:05:18
| * rmg | quit (Ping timeout: 240 seconds) |
06:22:02
| * piscisaureus | quit (Quit: ~ Trillian Astra - www.trillian.im ~) |
07:15:52
| * hareth | joined |
07:15:58
| <hareth> | hey |
07:17:52
| <bajtos> | good morning |
07:18:20
| <hareth> | stupid question perhaps |
07:18:35
| <hareth> | I’m interested in using strongloop/zone |
07:18:58
| <hareth> | to store user session and share it trough an async flow |
07:19:24
| <bajtos> | that’s something we are planning to implement in LoopBack too |
07:19:49
| <bajtos> | so it is a valid use case |
07:19:50
| <bajtos> | what’s your question? |
07:20:12
| <hareth> | by that I mean that I will have for example a connect middleware that will execute multiple async operation, and I just want to access ‘zone.data.user’ for example |
07:20:31
| <hareth> | that should work ? :p Or I misunderstood something :p |
07:21:25
| <hareth> | also the warning for 0.11 has disapeared so I can use the bleeding edge on 0.10? :) |
07:22:52
| <bajtos> | To be honset, I am not very familiar with Zones myself. I would expect that as long as you wrap the code of your middleware in a zone, it should work |
07:23:19
| <bajtos> | i.e. you should create a new zone every time your connect middleware is executed = new zone per request |
07:23:29
| <bajtos> | app.use(function(req, res, next) { |
07:24:02
| <hareth> | then create a new zone in the body |
07:24:03
| * rmg | joined |
07:24:12
| <bajtos> | let me rewrite that code |
07:24:36
| <bajtos> | app.use(zone.define(function(req, res, next) { async.waterfall([…], next) })) |
07:25:13
| <bajtos> | as for support for Node 0.10 - it’s on our roadmap, although I don’t think it’s done yet |
07:25:24
| <bajtos> | * I think it’s not done yet |
07:25:42
| <hareth> | ok :) thx a lot for your answer |
07:25:53
| <hareth> | btw great work thanks for sharing it ^^ |
07:28:33
| * rmg | quit (Ping timeout: 240 seconds) |
07:39:35
| * hareth | quit (Quit: hareth) |
07:46:17
| * hareth | joined |
08:00:31
| * hareth | quit (Quit: hareth) |
09:13:36
| * bajtos | quit (Quit: bajtos) |
09:53:53
| * hareth | joined |
11:37:34
| * hareth | quit (Quit: hareth) |
11:47:19
| * hareth | joined |
12:14:40
| * hareth | quit (Quit: hareth) |
12:23:33
| * hareth | joined |
13:00:29
| * bajtos | joined |
14:22:34
| * delerium_ | joined |
14:22:38
| * delerium_ | part |
15:03:25
| * bajtos | quit (Quit: bajtos) |
15:26:42
| * bajtos | joined |
15:33:03
| * bajtos | quit (Ping timeout: 240 seconds) |
15:36:58
| * bajtos | joined |
16:06:43
| * hareth | quit (Quit: hareth) |
16:15:00
| * rmg | joined |
16:16:17
| * hareth | joined |
16:20:18
| * hareth | quit (Ping timeout: 240 seconds) |
18:07:02
| * hareth | joined |
19:33:19
| * bajtos | quit (Quit: bajtos) |
22:33:48
| * hareth | quit (Quit: hareth) |