Guys, is there a way to run es6 on graphcool's clo...
# prisma-whats-new
m
Guys, is there a way to run es6 on graphcool's cloud function resolvers? When I try to use es6
import
it brokes with a 400 status
h
I think its possible only with typescript, because it runs on old version of node6.10 if i am not mistaken
Or do you use old console version?
So i think you are using console version on web right?
Where you define functions etc
m
Yes
Exactly
h
so there you can't use import
w
@huv1k can’t he use
'use-latest'
at the top of his function to allow for ES6 usage ? 🙄
h
If i am not mistaken, function runs on lambda and there is runtime
Node.js – v4.3.2 and 6.10.3
m
😢
h
but better ask @nilan if he can give you more info, but i am 95% sure its not possible
m
Thank you guys!