25 Commits

Author SHA1 Message Date
Alexandre Bodin
939645f97d Support manyWay in graphql 2019-07-09 11:24:11 +02:00
Alexandre Bodin
99e6dc31aa Fix issue with graphql loaders 2019-04-17 16:27:25 +02:00
Alexandre Bodin
b8dc116ff6 Fix relations and graphql nested lookups for both mongo and sql 2019-03-28 12:13:32 +01:00
Alexandre Bodin
aa0ee1b56a Refactor relations update to fix many to many append
- Fix loaders / resolvers graphql
2019-03-27 21:32:24 +01:00
Alexandre Bodin
0c5b255e75 Fix graphql loaders and add some e2e graphql tests 2019-03-25 16:37:46 +01:00
Alexandre Bodin
d2db6b633f Mongo + graphql v1 2019-03-21 09:07:36 +01:00
Kamal Bennani
396f3c8ac0 Don't apply the limit when using loaders 2019-03-21 09:07:02 +01:00
Kamal Bennani
2dfde5a152 Re-adapt loader to work with manyToMany relationship 2019-03-21 09:07:02 +01:00
Kamal Bennani
0d9626b165 Fix issue when the relation is populated or not (Bookshelf) 2019-03-21 09:07:02 +01:00
Kamal Bennani
19c696ff25 Adapt Loader service to the new API 2019-03-21 09:07:02 +01:00
Aurélien Georget
8e2169f005 Fix SQL query where oneWay relationship is null 2019-01-24 11:09:45 +01:00
Aurélien Georget
4f2928339a Reset loaders instead of clearing cache 2019-01-22 13:47:44 +01:00
Aurélien Georget
2b37315f07 Fix where on relational fields 2019-01-22 12:16:46 +01:00
Aurélien Georget
176aa52df0 Avoid duplicate loaders 2019-01-16 17:26:15 +01:00
Aurélien Georget
332cfdacab Apply PR's feedback 2019-01-15 17:16:28 +01:00
Aurélien Georget
2df5ecae79 Reset loaders on every request to avoid wrong results coming from cache 2019-01-05 18:14:00 +01:00
Aurélien Georget
ebf9cfdcaa Handle one-to-many case 2018-12-06 18:23:56 +01:00
Aurélien Georget
e1ce257d2f Revert codebase and apply limit, skip, start and sort parameters 2018-12-06 18:11:53 +01:00
Aurélien Georget
b0aaae9f12 Resolve conflicts 2018-11-27 18:48:37 +01:00
Aurelsicoko
4e23e872ed Support one-to-one relationship with DataLoader 2018-11-23 17:46:43 +01:00
Aurelsicoko
639c635885 Use the PK of referring model as an alias 2018-11-23 17:33:41 +01:00
Aurelsicoko
bdc9b4b0d8 Handle oneToMany relationship 2018-11-22 19:57:26 +01:00
Aurelsicoko
21d21dfc8f Handle single fetch & allow override of default auto-population 2018-11-22 18:32:33 +01:00
Aurelsicoko
f833622e19 Filter undefined results 2018-11-22 17:33:51 +01:00
Aurelsicoko
0074ca6304 Refactoring loaders and put logic in a different file 2018-11-22 16:40:52 +01:00