Output independent of the columns requested in the query #2278
Unanswered
ibrahimcadirci
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know if this is exactly possible, but is it possible to return a user-independent of the colums requested?
Example :
query { callStats( startDateTime: "2022-01-01T03:00:00+03:00" ) { totalCallCount } }
The user just wants the totalCallCount column but I want to return something like below;
{ "data": { "callStats": { "export": { "fileURL": "domain.com/cvsfile.csv" } } } }
It is available in the export struct and I return the data in this way, but since export is not desired in the query, it gives the following output to the screen.
{ "data": { "callStats": { "totalCallCount": null } } }
Beta Was this translation helpful? Give feedback.
All reactions