193 Commits

Author SHA1 Message Date
Alexandre Bodin
6e48232c85 Merge branch 'master' into develop 2019-08-13 10:55:37 +02:00
Jelmer Visser
f0e8df63c5 Fix custom mutation returning null and not executing policies (#3735)
Fix custom mutation returning null and not executing policies
2019-08-13 10:55:12 +02:00
Alexandre Bodin
2d871abf6a Merge branch 'master' into develop 2019-07-23 11:20:57 +02:00
Aamir Mahmood
1f0a2e3f81 removed extra comments 2019-07-22 14:45:09 +05:00
Aamir Mahmood
fa1da631a1 fixes #3648 if no limit set get it from aomuntLimit 2019-07-22 14:44:17 +05:00
Alexandre Bodin
3e20bd3a28 Allow types and groups without attributes 2019-07-18 19:37:33 +02:00
Alexandre Bodin
06a1b023c3 Clean up code 2019-07-18 19:37:32 +02:00
Alexandre Bodin
136056ce2f Handle mutation with group ids to avoid recreating the groups every time 2019-07-18 19:37:31 +02:00
Alexandre Bodin
103b8c3964 Add group resolvers for nested relations 2019-07-18 19:37:30 +02:00
Alexandre Bodin
07cca4139c Add group inputs 2019-07-18 19:37:30 +02:00
Alexandre Bodin
fbfe41e1d1 Create group type 2019-07-18 19:37:29 +02:00
Alexandre Bodin
939645f97d Support manyWay in graphql 2019-07-09 11:24:11 +02:00
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