I have two mutation which maps to same resolver class. I need to differentiate between both mutations. So in-order to do that, I am looking for a functionality to fetch the name of the mutation or query in the resolver. Any ideas?
A resolver is a function that's responsible for populating the data for a single field in your schema. Whenever a client queries for a particular field, the resolver for that field fetches the requested data from the appropriate data source. United Healthcare