Skip to content

hata6502/graphql-filter

Repository files navigation


Welcome to graphql-filter 👋

Version License: MIT Total alerts Language grade: JavaScript Twitter: hata6502

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 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

Releases

No releases published

Packages

No packages published