55 Commits

Author SHA1 Message Date
Alexandre Bodin
53d02ea443 Support empty dynamic zone 2019-11-28 17:34:27 +01:00
Alexandre Bodin
e4226344ee simplify code 2019-11-28 17:34:27 +01:00
Alexandre Bodin
db08e93cc7 Support dynamic zones in graphql 2019-11-28 17:34:26 +01:00
Alexandre Bodin
890ec24dcb Fix graphql not supporting dash in content type names 2019-11-13 19:26:00 +01:00
Alexandre Bodin
b9122edf0d Rename groups to components 2019-11-13 18:49:02 +01:00
Mickael D
9ae81b9dc9 fix(#2971): fix resolvers not correctly generated when model contains private attributes (#4441) 2019-11-07 09:19:35 +01:00
Alexandre Bodin
349b21fd6f Check if many-many relation is populated before laoding it 2019-10-21 09:39:56 +02:00
Alexandre Bodin
ba828dc8f6 Merge branch 'master' into chore/admin-development 2019-10-04 09:46:06 +02:00
soupette
66104d9e11 Fix conflicts 2019-10-01 17:56:52 +02:00
Alexandre Bodin
0ad7a7e719 Improve graphql perf 2019-10-01 17:45:16 +02:00
Jelmer Visser
3111ee4942 Fix for null values with manyToMany and manyWay 2019-09-26 16:07:53 +02:00
Don Masakayan
17c4244f14 Pass easier-to-understand options instead of arguments to Mutation.composeMutationResolver() and Query.composeQueryResolver() 2019-09-15 15:51:06 +08: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
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
2fa8afbb1a Fix graphql and some styling 2019-04-16 08:50:47 +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
2bdbf12b0a Simplify GraphQL resolver and adapt the ContentManager to the new changes 2019-03-21 09:07:02 +01:00
Jim LAURIE
2f31050a68 Add primary key ref 2019-03-15 17:49:46 +01: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
5df5933ec4 Fix loader name 2019-01-14 19:36:35 +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
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
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
Aurelsicoko
402d1fb4b6 Map result to retrieve data from loaders 2018-11-21 19:37:19 +01:00
Kamal Bennani Bouchiba
6482a6ec84
Merge branch 'master' into feature/allow-filtering-on-a-relation-attribute 2018-11-20 19:34:46 +01:00
Aurelsicoko
4320614721 Merge branch 'master' of github.com:strapi/strapi into issue/2228 2018-11-20 16:31:26 +01:00
Aurelsicoko
a30c7844a9 Generate generic dataloader for manyToMany relationships 2018-11-19 16:58:16 +01:00
Kamal Bennani
511ca55461
fix 1st level deep filter 2018-11-19 00:10:48 +01:00
Kamal Bennani
85eeb4aef2
Fix wrong rebase 2018-11-18 23:57:03 +01:00
Jim LAURIE
19ec6242f9
Merge branch 'master' into feature/allow-filtering-on-a-relation-attribute 2018-11-16 17:38:27 +01:00
Aurelsicoko
e28b69092d Use primaryKey to associate correct related entry in manyToOne association 2018-11-15 17:47:17 +01:00
Jim LAURIE
08ababab42 Fix lint 2018-11-10 11:37:02 +01:00
Jim LAURIE
5188d70d91
Merge branch 'master' into fix-graphql-many-to-many-relations 2018-11-09 12:07:52 +01:00
Jim LAURIE
163f7e6533 Fix lint 2018-11-07 16:19:31 +01:00
Nick Verwymeren
87d41103a4 merged in master 2018-11-06 13:12:26 -06:00