A GraphQL middleware to filter output data.
When implementing a GraphQL API, you may want to filter the output. Another layer should be used especially if the reason is due to settings or privacy. graphql-filter provides comprehensive filtering by GraphQL Types. It may be able to implement flexible read control with graphql-filter and graphql-shield.
Please see test and snapshots.
yarn add graphql-filter graphql-middleware
yarn test
- Website: https://b-hood.site/
- Twitter: @hata6502
- Github: @hata6502
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2020 hata6502.
This project is MIT licensed.
Please see DISCLAIMER.md.
This README was generated with ❤️ by readme-md-generator