Jannis Pohlmann
10/18/2017, 2:14 PMgraphcool-lib@next
and event.context.graphcool.pat
should now be event.context.graphcool.token
but it isn’t set.nilan
10/18/2017, 2:15 PMgraphcool-lib@0.0.3
nilan
10/18/2017, 2:16 PMshould now bewhere does it say so?event.context.graphcool.token
Jannis Pohlmann
10/18/2017, 2:16 PM0.0.4-beta4
) so I could port the email-password functions to TypeScript easily.nilan
10/18/2017, 2:17 PMemail-password
using 0.3.0
nilan
10/18/2017, 2:17 PMJannis Pohlmann
10/18/2017, 2:18 PMJannis Pohlmann
10/18/2017, 2:18 PM.pat
is being replaced with .token
.)Jannis Pohlmann
10/18/2017, 2:19 PM.token
isn’t set on the Graphcool
instance that comes in with the event.Jannis Pohlmann
10/18/2017, 2:20 PM0.0.3
though and use your versions if that’s what you recommend.nilan
10/18/2017, 2:21 PM.rootToken
works?nilan
10/18/2017, 2:21 PMevent.context
Jannis Pohlmann
10/18/2017, 2:21 PMJannis Pohlmann
10/18/2017, 2:26 PM.rootToken
is set.nilan
10/18/2017, 2:26 PM.token
manually for now, we'll clean this up before releasing 0.0.4
🙂Jannis Pohlmann
10/18/2017, 2:27 PM.pat
. It’s just that it’s missing from the TS types, so you can’t access it without TS failing to build.nilan
10/18/2017, 2:27 PMJannis Pohlmann
10/18/2017, 2:29 PM.rootToken
perhaps instead of .token
? I’m not sure what is desired here but as long as it tries to access .token
(undefined), graphcool.generateNodeToken
won’t work.nilan
10/18/2017, 2:29 PMnilan
10/18/2017, 2:29 PMpat
for a while to stay backwards compatibleJannis Pohlmann
10/18/2017, 2:31 PMJannis Pohlmann
10/18/2017, 2:32 PMnilan
10/18/2017, 2:33 PM0.0.4
beta release later todayJannis Pohlmann
10/18/2017, 2:33 PMnilan
10/18/2017, 5:10 PMJannis Pohlmann
10/18/2017, 5:15 PM