7 Commits

Author SHA1 Message Date
Jayden Seric
826f838df5 Update the example API. 2021-12-06 23:18:50 +11:00
Jayden Seric
8a46155f91 Simplify the example by removing the DB.
This avoids trying to figure out how to fix concurrent writes conflicting with `lowdb` v2, see: https://github.com/typicode/lowdb/issues/478 .
2021-06-11 17:24:42 +10:00
Jayden Seric
3db018dcc4 Modernize the API. 2021-06-11 15:23:05 +10:00
Jayden Seric
3fff0d9230 Convert the API from CJS to ESM. 2021-05-13 20:18:46 +10:00
Jayden Seric
bff2ccf700 Switch to a manual graphql-upload setup.
This allows the current graphql-upload version to be used instead of the outdated version shipped with Apollo Server, which doesn’t support recent Node.js versions. See https://github.com/apollographql/apollo-server/issues/3508#issuecomment-662371289 .
2020-07-23 00:18:52 +10:00
Jayden Seric
c8ccfd2f49 Remove the promises-all dependency in favor of Promise.allSettled. 2020-05-25 17:05:15 +10:00
Jayden Seric
50fa2ce360 Reorganize the schema files. 2020-05-25 16:33:20 +10:00