As the title said, I am wondering if there is a way to either access the requested fields, for example, in the following query:
query { geoMappings(stateId: "01") { stateId stateAbbr stateName } }
I would like to know that the user requested the stateId, stateAbbr and stateName fields.
Also, is it possible to access and manipulate the resulting map before sending a response to the client? In the previous query, I require to remove any duplicate objects in the resulting map, regardless of there existing multiple objects that match the condition in the database.