Welcome to graphql-filter 👋
A GraphQL middleware to filter output data.
💡 Motivation
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.
Example
Please see test
and snapshots.
Install
yarn add graphql-filter graphql-middleware
Run tests
yarn test
Author
hata6502
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2020 hata6502.
This project is MIT licensed.
Disclaimer
Please see DISCLAIMER.md.
This README was generated with ❤️ by readme-md-generator