vitor.lima
(Vítor Cézar de Lima)
1
Hello everyone,
Using GraphQL I can ask for the complexity of a query. For example, I can do
query {
complexity {
query
}
users {
id
email
}
}
and get a response such as:
{
"data": {
"complexity": {
"query": 2010
},
"users": [
// list of users
]
Reading some posts (Query Complexity), I see that mutations also have complexity. Where can I retrieve (or find) this information?
1 Like
Helen
(Helen)
3
Hi @vitor.lima!
At this time I’m afraid that there isn’t a complexity field for mutations like there are for queries.
However, this is something our team is looking to implement soon. As such, I’ve moved this to our Feature Requests section.
Will followup here once the feature has been released!
1 Like
vitor.lima
(Vítor Cézar de Lima)
4
Hi @Helen!
Thanks for you response. Looking forward for any updates on this feature.
1 Like
dipro
(Dipro Bhowmik)
5