231 Commits

Author SHA1 Message Date
Alexandre Bodin
864a6ecaea Refactor middleware loading 2019-06-11 18:22:07 +02:00
Alexandre Bodin
d9b396821d Fix primaryKey not found for custom resolvers 2019-06-11 15:01:46 +02:00
Alexandre Bodin
3104204e20 Fix amountLimit in graphql queries 2019-06-11 13:56:24 +02:00
grom194
c814c5dc46 fix: remove graphql special condition for delete request 2019-06-04 15:22:31 +03:00
Alexandre Bodin
31a222ecb1 Start lint fixes 2019-05-29 17:25:56 +02:00
Alexandre Bodin
50b371b853 Merge branch 'beta' into tech/core-api 2019-04-19 08:26:13 +02:00
Alexandre Bodin
9103e3a2fa Fix missing populate in graphql queries 2019-04-18 12:03:40 +02:00
Alexandre Bodin
99e6dc31aa Fix issue with graphql loaders 2019-04-17 16:27:25 +02:00
Alexandre Bodin
59dc3eea36 Fix tests 2019-04-16 18:05:12 +02:00
Alexandre Bodin
710e3ab52f Save plugins models in extensions folder 2019-04-16 09:05:46 +02:00
Alexandre Bodin
eb7c4534f8 Exports schema.graphql in devmode, load extensions folder and run merge config and overwrites 2019-04-16 09:00:24 +02:00
Alexandre Bodin
2fa8afbb1a Fix graphql and some styling 2019-04-16 08:50:47 +02:00
Derrick Mehaffy
88e1ce2c57 Fix return of long type 2019-04-05 06:17:20 -07:00
Derrick Mehaffy
457e689297 Add GraphQL-Type-Long to types 2019-04-05 05:51:09 -07:00
Alexandre Bodin
9bc56a3535 Apply review changes 2019-03-29 16:53:25 +01:00
Derrick Mehaffy
73f215f0ba PR Feedback fixes 2019-03-29 06:58:32 -07: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
3098309369 Use mongoose.find on simple queries for a perf boost 2019-03-26 14:57:02 +01:00
Alexandre Bodin
aee779c751 Try to use mongo 3.6.6 on travis to allow for new lookup feature 2019-03-26 08:57:50 +01:00
Alexandre Bodin
0c5b255e75 Fix graphql loaders and add some e2e graphql tests 2019-03-25 16:37:46 +01:00
Alexandre Bodin
0066876ce4 Handle groupBy and aggregate 2019-03-22 20:03:19 +01:00
Alexandre Bodin
6fcb38780d Init code cleanup and auto loading of morph realtions in populated path 2019-03-22 17:15:51 +01:00
Alexandre Bodin
d2db6b633f Mongo + graphql v1 2019-03-21 09:07:36 +01:00
Kamal Bennani
07020fc3d6 Use where instead of passing it directly to the count function because the order of the pipelines matters 2019-03-21 09:07:02 +01:00
Kamal Bennani
396f3c8ac0 Don't apply the limit when using loaders 2019-03-21 09:07:02 +01:00
Kamal Bennani
7718968b37 Adapt the aggregator to the new API and add totalCount attribute to the aggregation 2019-03-21 09:07:02 +01:00
Kamal Bennani
4bb9af3fb1 Don't populate any relation in GraphQL context 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
Kamal Bennani
2bdbf12b0a Simplify GraphQL resolver and adapt the ContentManager to the new changes 2019-03-21 09:07:02 +01:00
Alexandre Bodin
7ab8eb4c56 Fix missing _ in the convertParams graphql queries 2019-03-15 21:03:22 +01:00
Jim LAURIE
2f31050a68 Add primary key ref 2019-03-15 17:49:46 +01:00
Jim LAURIE
983a12b874 Hot fix primary key detection mutation/query GraphQL 2019-03-15 17:35:33 +01:00
Jim LAURIE
d22bc090f1
Merge branch 'master' into fix/2530 2019-03-07 15:55:14 +01:00
Jim LAURIE
8241863444
Merge branch 'master' into enhancement/bigint 2019-03-07 13:42:16 +01:00
DMehaffy
8a20a151d0 Temporary fix for SQL Mutation Updates 2019-03-07 02:54:19 -07:00
Pierre Burgy
51b5ea7b3f Fix findOne query for GraphQL 2019-02-17 14:35:41 +01:00
DMehaffy
339c756e05
Merge branch 'master' into enhancement/bigint 2019-01-30 23:04:39 -07:00
Jim LAURIE
493e7a069f
Don't need this mapping since it's the same key 2019-01-30 17:51:23 +01:00
DESKTOP-9GMDKNB\NeOMakinG
a116da2927 Using object.assign with custom vars in key 2019-01-28 21:03:05 +01:00
DESKTOP-9GMDKNB\NeOMakinG
fdca337473 Using single quotes 2019-01-28 20:57:11 +01:00
DESKTOP-9GMDKNB\NeOMakinG
aec28dfb94 Update timestamps since _get changed 2019-01-28 20:51:16 +01:00
DESKTOP-9GMDKNB\NeOMakinG
e6e6515d6e Apply custom timestamps to graphql 2019-01-25 14:37:22 +01:00
DESKTOP-9GMDKNB\NeOMakinG
897bd447e4 Fixing GraphQL timestamps due to #2556 2019-01-25 12:59:22 +01:00
Aurélien Georget
8e2169f005 Fix SQL query where oneWay relationship is null 2019-01-24 11:09:45 +01:00
Jim LAURIE
f90255bb75
Merge branch 'master' into issue/2327 2019-01-22 13:52:13 +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