hata6502 / graphql-filter

A GraphQL middleware to filter output data.

Home Page:https://www.npmjs.com/package/graphql-filter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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

About

A GraphQL middleware to filter output data.

https://www.npmjs.com/package/graphql-filter

License:MIT License


Languages

Language:TypeScript 100.0%