Jean-Sébastien Herbaux
357fd163b0
V4/graphql customization ( #10850 )
...
* Add basic implementation for the graphql extension service
* Add createPolicyContext in @strapi/utils
* policiesMiddleware implementation for graphql
* wrapResolvers first implementation (authentication, middlewares, policies)
* move the content API schema build from /generators to /content-api. Extract types' register functions into a dedicated folder
* fix schema generation on bootstrap
* update the graphql service file to match new services arch
* fix single type queries
* simplify entity's resolver
* use apollo graphql conventions for resolver's args naming
* use the graphql extension system in i18n to add a locale arg to localized queries & mutations
2021-09-01 12:06:51 +02:00
Alexandre Bodin
7eaa8ae95e
Handle sort query param
2021-08-31 19:31:31 +02:00
Alexandre Bodin
df6b7eca1a
Implement fields convert query params
2021-08-31 19:31:30 +02:00
Alexandre Bodin
d6dabb6b02
Support booleans for nested populates
2021-08-31 19:31:30 +02:00
Alexandre Bodin
3784cc5b5e
Implement rest api populate syntax and Init refactor convert query params for v4
2021-08-31 19:31:29 +02:00
Alexandre Bodin
86961318f0
Init populate parsing
2021-08-31 19:31:29 +02:00
Alexandre Bodin
960578133f
Cleanup parse multipart
2021-08-31 19:31:28 +02:00
Alexandre Bodin
44cf9e161a
Load api policies
2021-08-30 17:02:41 +02:00
Pierre Noël
9a2fe3c715
fix policy test
2021-08-30 11:00:31 +02:00
Pierre Noël
9362311924
add extend fn to controller registry
2021-08-30 11:00:30 +02:00
Alexandre Bodin
8f5cb90863
Migrate admin policies
2021-08-25 15:16:17 +02:00
Convly
a50f93ff1c
Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor
2021-08-25 15:09:15 +02:00
Convly
466161ca70
Merge branch 'v4/backend' into v4/graphql-schema-generation-refactor
2021-08-24 17:58:14 +02:00
Alexandre Bodin
03ba7cf3d9
Migrate loaders and cleanups
2021-08-24 17:56:49 +02:00
Alexandre Bodin
f4a4e2ce26
Move routes to js when possible and refactor policies to be objects
2021-08-24 13:59:43 +02:00
Alexandre Bodin
3de76e484c
Start to do some cleanup
2021-08-23 21:50:13 +02:00
Convly
40c93fe6c6
Merge branch 'v4/backend' into v4/graphql-schema-generation-refactor
2021-08-23 16:11:57 +02:00
Alexandre Bodin
1350b1cc92
Merge branch 'releases/v4' into pluginAPI/loadPlugin
2021-08-23 14:23:51 +02:00
Alexandre Bodin
ba8d082188
Cleanup sort
2021-08-23 10:51:32 +02:00
Pierre Noël
bc56be3560
Merge branch 'pluginAPI/loadPlugin' of github.com:strapi/strapi into pluginAPI/loadPlugin
2021-08-20 16:32:14 +02:00
Pierre Noël
09945a46df
fixes
2021-08-20 15:23:02 +02:00
Alexandre Bodin
575cbbdc7c
Migrate plugin getters
2021-08-19 23:30:49 +02:00
Pierre Noël
682e877644
Merge branch 'v4/backend' into pluginAPI/loadPlugin
2021-08-18 18:37:57 +02:00
Convly
3796688d7e
Clean todos & some duplicated code
2021-08-18 17:57:12 +02:00
Convly
e16b36ecb6
Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor
2021-08-18 14:57:22 +02:00
Pierre Noël
c547e64571
fix e2e tests
2021-08-18 11:58:17 +02:00
Alexandre Bodin
a4d3ac34bd
Merge branch 'master' into releases/v4
2021-08-17 19:10:29 +02:00
Convly
cf76db2c18
Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor
2021-08-13 11:11:50 +02:00
Alexandre Bodin
3c2040011a
Handle join table pivot associations and ordering
2021-08-12 16:12:40 +02:00
Convly
e6a139dde7
Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor
2021-08-09 18:41:38 +02:00
Pierre Noël
18da6e2188
Merge branch 'v4/backend' into pluginAPI/loadPlugin
2021-08-09 11:06:34 +02:00
Pierre Noël
4790e28284
refactor with module approach
2021-08-06 18:09:49 +02:00
Alexandre Bodin
07ae49badd
Avoid making empty queries in populate
2021-08-06 10:51:34 +02:00
Convly
0e8025df6b
Merge branch 'releases/v4' into v4/graphql-resolvers-rewrite
2021-08-05 14:39:16 +02:00
Pierre Noël
dd0c095f1e
Merge branch 'v4/backend' into pluginAPI/loadPlugin
2021-08-04 15:05:56 +02:00
Pierre Noël
ed050471d7
fix unit tests
2021-08-02 18:47:45 +02:00
Alexandre Bodin
d44a6f68ee
Migrate admin to programmatic loading
2021-08-02 17:54:49 +02:00
Convly
02785294f4
Handle pagination, sort & rework + polymorphic relation update
2021-07-30 11:44:26 +02:00
Pierre Noël
eabe72f92e
WIP
2021-07-26 16:59:59 +02:00
Pierre Noël
2381e8c60b
WIP
2021-07-20 12:12:36 +02:00
Alexandre Bodin
81e6a9595c
fix unit tests
2021-07-19 19:36:40 +02:00
Alexandre Bodin
5c906d0dc2
Start with graphql
2021-07-19 12:39:43 +02:00
Pierre Noël
3c9daba9a1
wIP
2021-07-13 18:46:36 +02:00
Alexandre Bodin
d48eaa0d1f
validate compo
2021-07-08 22:50:24 +02:00
Alexandre Bodin
63b503f676
Wip
2021-07-08 21:53:30 +02:00
Alexandre Bodin
81dd94c6ec
Refactor all query() calls
2021-07-08 18:15:32 +02:00
Pierre Noël
1ac226b962
WIP
2021-07-08 11:20:13 +02:00
Alexandre Bodin
3ded0ef2bd
Init compo & add publication field
2021-07-07 18:04:39 +02:00
cyril lopez
65d612f364
V4/database ctb ( #10589 )
...
* Update yarn.lock
Signed-off-by: soupette <cyril.lpz@gmail.com>
* Remove useless options
Signed-off-by: soupette <cyril.lpz@gmail.com>
* Disable advanced options for components
Signed-off-by: soupette <cyril.lpz@gmail.com>
* Remove options from relations schema
Signed-off-by: soupette <cyril.lpz@gmail.com>
* Adapt ctb to new relation spec
Signed-off-by: soupette <cyril.lpz@gmail.com>
* Fix DataManagerProvider tests
Signed-off-by: soupette <cyril.lpz@gmail.com>
* Fix backend
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-07-07 17:29:57 +02:00
Alexandre Bodin
e973804399
Filters working
2021-07-05 18:35:16 +02:00