davidpdrsn / juniper-eager-loading

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

Can interface be simplified? #43

Closed davidpdrsn closed 3 years ago

davidpdrsn commented 4 years ago

I wonder if it is possible for the eager load methods to not take both the models and the graphql nodes, but instead only the models and then rely on GraphqlNodeForModel generically to do the mapping :thinking: