Zendro-dev / graphql-server

Skeleton NodeJS project for a graphQL server.
GNU General Public License v3.0
0 stars 1 forks source link

Implement helper.checkAndAdjustRecordLimitForCreateUpdate #27

Open asishallab opened 4 years ago

asishallab commented 4 years ago

See this whitepaper for the spec of the checkAndAdjustRecordLimitForCreateUpdate function.

Implement it in the utils/helper module and write a short unit test that ensures it works correctly.

Branch of off issue108-helper-functions.

For inspiration on how to write unit tests for helper, see test/test.js