Functions

A managed function is a function that's managed and deployed by Graphcool (think of Graphcool as your FaaS provider for managed functions). If you're using a managed function in your Graphcool project, all you need to do is write the code for it, add it to your service definition file and run graphcool deploy. Graphcool will then make sure the function is deployed for you

#In what environment are managed functions executed with Graphcool? Can I use ES6 for my JS code?

Functions are executed with Auth0 Extend. You can use ES6 if you write the string 'use-latest' in the first line of your function. You can read more about the runtime environment here.

#How can I validate and transform the payload of a request before data gets written to the database?