Mutations with Tyk’s Universal Data Graph
Blog post from Tyk
The article by Jennifer Craig provides a detailed walkthrough on setting up and executing mutations using Tyk’s Universal Data Graph (UDG) with a practical example involving the Swagger Petstore. It guides users through adding a mutation to the schema, specifically defining a mutation called 'addPet' that takes arguments and returns a Pet object, and then defining the data source by specifying the REST endpoint, URL, method (POST), request body, and appropriate headers. Once these steps are completed, users can execute the mutation in the Playground to create a new pet, demonstrating UDG's capabilities in handling GraphQL mutations. The article encourages users to explore Tyk’s features by signing up for a free trial and provides additional resources for those interested in further understanding UDG's functionalities.