Closed yoadsn closed 3 years ago
If you want to add this option to typedef for overriding internal behavior then I don't see any problems. Feel free to open PR but it's required to add some jsdoc explanation to it ;)
@nodkz Thanks! please see PR - I found some tests that needed fixing since the last refactors to this factory.
:tada: This issue has been resolved in version 9.3.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I might read it wrong, but when using the
connection
resolver factory and specifying opts forfindMany
(for example) thesort
prop is also required. But in fact the factory knows to generate it from the indexes of the model. Can we make this optional in this type def? https://github.com/graphql-compose/graphql-compose-mongoose/blob/e32b4412a5e5b983a278738504a257a8b0335939/src/resolvers/connection.ts#L12I can create a PR if this is indeed something to fix. Maybe something like this?