Hello
Does anyone have any examples of using a Playfab CloudScript with GraphQL?
We have the GraphQL queries but are struggling converting them for use in Javascript.
Thanks
Hello
Does anyone have any examples of using a Playfab CloudScript with GraphQL?
We have the GraphQL queries but are struggling converting them for use in Javascript.
Thanks
Cloud Script doesn’t support external library, may I ask are you hosting an external server with GraphQL? It is feasible if via HTTP request.
In addition, you may also consider using Azure Function, where external library is supported.
Hello
Sorry, I wasn't clear.
Yes, we want to use HTTP requests to an external GraphQL server hosted by one of our technology partners.
Thanks
Cloud Script is based on standard JavaScript, though I am not an expert on it, you may refer to this thread: Making Webhook calls from CloudScript - PlayFab | Microsoft Docs.
I also notice that there are few tutorials of Azure Function implementation, and it could be more convenient to integrate GraphQL with PlayFab.
2 People are following this question.