22 Commits

Author SHA1 Message Date
Alexandre Bodin
0285c7bd96 Add metadatas to resolvers to know where they are created
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
Alexandre Bodin
0c6d39297f Add graphql tests for single-types
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
Alexandre Bodin
f20f609324 Clean aggregation schema
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:10 +01:00
Alexandre Bodin
0b59bd61f6 Refactor policy util and error handling
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:37:16 +01:00
Alexandre Bodin
a503c20353 Cleanup strapi-utils 2019-12-11 10:22:47 +01:00
Alexandre Bodin
29c06e10a3 Merge branch 'develop' into features/dynamic-zones 2019-12-06 12:35:35 +01:00
Alexandre Bodin
c66fe82c41 Handle time and date in mongo 2019-12-05 15:26:01 +01:00
Alexandre Bodin
7a3b64016c Hotfix mongo aggregate policy verifications 2019-11-28 18:33:02 +01:00
Abdón Rodríguez Davila
aa534b1a5c Use plugin in the GraphQL aggregation queries (#4508) 2019-11-13 16:19:47 +01:00
soupette
6f8b23d254 Fix conflicts 2019-09-27 16:26:09 +02:00
Alexandre Bodin
23ab277472 Fix _q count. still does nott work with group by 2019-09-16 23:19:11 +02:00
Alexandre Bodin
c1f818958a Fix bad conversion of id to _id in graphql and aggregations 2019-09-16 23:19:11 +02: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
3098309369 Use mongoose.find on simple queries for a perf boost 2019-03-26 14:57:02 +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
7718968b37 Adapt the aggregator to the new API and add totalCount attribute to the aggregation 2019-03-21 09:07:02 +01:00
cyril lopez
377da271e4 Fix lint from master 2018-11-05 11:31:36 +01:00
Jason Lei
3378403954 GraphQL Mutations, Aggregations, Decimals
Merging Mutations and Aggregations. Fixed Mongoose Hook to use Decimals (2 decimal places) and Floats (20 decimal places).
2018-09-10 16:05:00 +08:00