Closed NduatiK closed 3 years ago
Wow. Using Mox really simplified the tests! @edisonywh I have made the requested changes.
I've looked through the PR and I think it looks amazing! I'm just going to push a commit to fix some formatting issues then I'll go ahead and merge it. Thanks for the contribution @NduatiK!
🚀 🚀 🚀
Resolve #42
Adds support for
query
anddefault_order_by
to resolver_opts.query
is a 1 arity function that accepts the resource and allows the developers to customize the query used to request resources inindex
.default_order_by
accepts a list of field names that will be used to order the resources.Also included are tests and an update to the readme.