React Apollo updating client cache after mutation
问题 I am trying to update my chache after succesfully executing a mutation. Here is my query and mutation: export const Dojo_QUERY = gql` query Dojo($id: Int!){ dojo(id: $id){ id, name, logoUrl, location { id, city, country }, members{ id }, disziplines{ id, name } } }`; export const addDiszipline_MUTATION = gql` mutation createDisziplin($input:DisziplineInput!,$dojoId:Int!){ createDisziplin(input:$input,dojoId:$dojoId){ disziplin{ name, id } } }`; and my mutation call: const [createDisziplin] =