18 Commits

Author SHA1 Message Date
Convly
e826297051 Remove NOTE 2022-09-01 10:54:32 +02:00
Convly
7d5c1e9b21 Revert add comment 2022-09-01 10:50:44 +02:00
Convly
18e07d8d0f Update comment 2022-09-01 10:30:26 +02:00
Convly
d71ffb2f5d Merge branch 'main' into fix/i18n-locale-queries-forbidden-access 2022-09-01 10:02:09 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
Convly
54c8cbf846 Fix i18n locale queries being forbidden even with the correct permission set 2022-07-01 14:19:07 +02:00
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +01:00
Convly
9b30189999 Allow using 'all' as a locale arg 2021-11-04 15:59:50 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Convly
20b20a0f92 Fix e2e test for UP, i18n & upload + various i18n fixes 2021-09-27 17:17:24 +02:00
Convly
3da1acebf4 Fix createLocalization mutations 2021-09-27 10:56:43 +02:00
Convly
12547dd074 Disable i18n 'locale' mutations 2021-09-17 07:16:30 +02:00
Jean-Sébastien Herbaux
5a7a5dc987
[V4] GraphQL - Migrate Users & Permissions GraphQL config to V4 (#10979)
* Migrate UsersPermissions's GQL configuration to V4

* Remove old graphql configuration
2021-09-15 15:44:42 +02:00
Convly
58294cce6c Fix cases where the type isn't registered in the type registry (i18n) 2021-09-10 15:52:19 +02:00
Jean-Sébastien Herbaux
8276240a2f
Add the create{Type}Localization mutation to every localized content type, refactor the i18n core-api's create localization handler creation (#10909) 2021-09-08 16:38:46 +02:00
Jean-Sébastien Herbaux
2b715a6ee9
V4/graphql configuration (#10896)
* Use a scalar to register the i18n locale arg

* Remove useless files & comments

* Use custom config for apollo server & the pagination (better handling of pagination)

* Fix missing strapi variable being transmitted to wrapResolvers/parseMiddlewares

* PR review comments
2021-09-07 11:23:49 +02:00
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