|
|
|
|
|
by ewittern
2689 days ago
|
|
There are a few libraries that calculate complexity or cost of a GraphQL query, e.g., [1][2]. We think that differences of our approach are that we extract more diverse characteristics, allowing for a wider array of management policies, and that we explicitly decouple management from the backend implementation. In consequence, our approach works irrespective of the programming language used for the GraphQL backend, prevents malicious requests from even hitting the backend, reduces backend load, and lifts developers from having to integrate cost / complexity calculations themselves. [1] https://github.com/pa-bru/graphql-cost-analysis
[2] https://github.com/slicknode/graphql-query-complexity |
|