Closed coeit closed 4 years ago
checkCountAndReduceRecordsLimit
now gets the model name as parameter to use the correct countRecords
function even when called from a fieldResolver. to_many_through_sql_cross_table
+ generic_to_<one/many
fieldResolvers to correctly use the new designcommit (templates): d75602d078ba1085b310d3d1fbc778112483ec7e
commit (tests) 1f4bd496b141966341fc99699e732b184f40da4e
Refactor the resolver function
checkCountAndReduceRecordsLimit
to use a helper function.This includes:
Fix the
to_many_through_sql_cross_table
andgeneric_to_<many/one>
fieldResolvers