Commit Graph

7 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 85cc525663 feat(queries): figuring out the perfect querie for getting objects
quite a few things are being considered, perf. wise: pagination, ordering, querying, depth.
2020-05-04 16:25:37 +01:00
Dimitrie Stefanescu 666e69c428 feat(trees): migrated reference tracking to closure table for faster scans on getChildren
change reduces query time from 4s to a predictable 500ms for queries with totalCount; without
totalCount we get a predictable <100ms. Benchmarking done on 300k object "commit"
2020-05-03 17:49:54 +01:00
Dimitrie Stefanescu 9999bd6eae test(objects): added sample data from .net sdk output 2020-05-03 14:40:23 +01:00
Dimitrie Stefanescu 7be78e0535 feat(tree): figuring out the best queries for object children 2020-05-01 12:13:14 +01:00
Dimitrie Stefanescu f0e556042f feat(graphql): get object children query in place 2020-05-01 00:20:45 +01:00
Dimitrie Stefanescu d35af3bb94 feat(graphql): added first working test 2020-04-23 18:25:49 +01:00
Dimitrie Stefanescu e3dd8b1d81 feat(app init): async'ed app init & awaiting knex.migrate.latest() on first run
fixes the bug where the server would start w/o actually waiting for migrations to happen
2020-04-22 17:32:01 +01:00