typetta icon indicating copy to clipboard operation
typetta copied to clipboard

Add `infoToFindParams` utils

Open edobrb opened this issue 4 years ago • 2 comments

It should converts the GraphQLResolverInfo into a FindParams accepted by the findAll operation

edobrb avatar Jan 26 '22 11:01 edobrb

I think this could be higher priority to avoid a lot of breaking changes (or unnecessary code) for the first users.

minox86 avatar Feb 01 '22 23:02 minox86

We could evaluate the replacement of the infoToProjections function with the following librayr https://www.npmjs.com/package/graphql-fields to decrease technical debt.

minox86 avatar Feb 01 '22 23:02 minox86