davidpdrsn / juniper-eager-loading

Library for avoiding N+1 query bugs with Juniper
68 stars 8 forks source link

juniper-eager-loading

This is a library for avoiding N+1 query bugs, designed to work with Juniper and juniper-from-schema.

It is designed to make the most common association setups easy to handle and while being flexible and allowing you to customize things as needed. It is also 100% data store agnostic. So whether your API is backed by an SQL database or by another API you can still use this library.

See the crate documentation for usage examples and more info.

Please note that the API is not considered stable, so breaking changes might be made.


License: MIT