Zendro-dev / graphql-server-model-codegen

Command line utility to auto-generate the structure files for a graphql server
MIT License
1 stars 2 forks source link

refactor checkCountAndReduceRecordsLimit and bugfix to_many_through_sql + generic associations #132

Closed coeit closed 4 years ago

coeit commented 4 years ago

Refactor the resolver function checkCountAndReduceRecordsLimit to use a helper function.

This includes:

Fix the to_many_through_sql_cross_table and generic_to_<many/one> fieldResolvers

coeit commented 4 years ago

commit (templates): d75602d078ba1085b310d3d1fbc778112483ec7e

commit (tests) 1f4bd496b141966341fc99699e732b184f40da4e