13 Commits

Author SHA1 Message Date
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
2a60f6eb54 Move from deprecated packages to graphql-scalars to handle scalar types 2022-08-02 11:45:59 +02:00
Pierre Noël
f12c0ac4ee keep graphql date value as a string 2022-02-28 16:36:11 +01:00
vincentbpro
a5ac20dda0 fix: avoid divided by zero issue 2021-12-14 10:41:47 +01:00
vincentbpro
9b244f8816 fix: pageSize meta improved 2021-11-22 10:46:03 +01:00
vincentbpro
a154b73e9c Merge branch 'releases/v4' of github.com:strapi/strapi into v4/fix-fetch-all-entries 2021-11-09 11:15:10 +01:00
vincentbpro
73e5b672fd fix: negative limit without maxLimit (graphql) 2021-11-08 17:17:56 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Convly
6a0d3a859c Add RelationResponseCollection & fix pagination 2021-09-28 12:02:26 +02:00
Jean-Sébastien Herbaux
37311b2757
[V4] GQL - Handle empty dynamic zone (#10926)
* Add an Error object type

* Fix typo in collection-type queries definition

* Add dynamic zone resolver

* Handle empty dynamic zone (no component attached)
2021-09-09 16:45:38 +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
Convly
b221633be5 Refactor graphql services architecture. Prefer using the strapi service API when possible 2021-08-24 17:56:44 +02:00