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

Implementation of non-null types and improvments for unions in the schema parsing #85

Closed evanmcneely closed 2 years ago

evanmcneely commented 2 years ago

Summary

passing test for non-null types in type weights and weight function tests

Type of Change

Issues

closes #48

Evidence

Screen Shot 2022-07-19 at 2 54 57 PM Screen Shot 2022-07-19 at 2 55 20 PM

evanmcneely commented 2 years ago

I've added tests and additional functionality for unions with non-null, object and enum types. Let me know if you think of any other cases that need to be accounted for.