How to define a GraphQL type model that contains complex objects? – Facebook api
I am using the Facebook Graph API's data to get the user info and create my user in the GraphQL service (graphcool). function createGraphcoolUser(facebookUser) { return api.request(` mutation { createUser( facebookUserId: "${facebookUser.id}" facebookEmail: "${facebookUser.email}" facebookName: "${facebookUser.name}" facebookPicture: "${facebookUser.picture}" ) {…