oslabs-beta / GraphQL-Gate

A GraphQL rate limiting library with query complexity analysisfor Node.js
http://graphqlgate.io
MIT License
57 stars 2 forks source link

Unbounded list functionality with custom directive #93

Closed jondeweydev closed 2 years ago

jondeweydev commented 2 years ago

Summary

Adds functionality to handle a @listCost directive with a cost parameter when written into schema fields. The argument passed in will define the weight of the entire list. Also added relevant tests and removed one unnecessary test.

Type of Change

Issues

Closes #76

Evidence