http://localhost:8080/graphiql
mutation { createVehicle(type: "car", modelCode: "XYZ0192", brandName: "XYZ", launchDate: "2016-08-16") { id } }
mutation update($input: UpdateVehicleInput){ updateVehicle(input:$input){ id, type, modelCode brandName } }
{ "input": { "id": 2, "type": "hayder", "modelCode": "hayder", "brandName": "hayder" } }
https://dimitr.im/graphql-mutations-spring
https://itnext.io/beginners-guide-to-graphql-with-spring-boot-69d229e87b19