159 Commits

Author SHA1 Message Date
Julie Plantey
0bcc4b17d2 Merge branch 'master' of https://github.com/strapi/strapi into features/folder-breadcrumbs 2022-08-02 15:59:27 +02:00
Convly
2a60f6eb54 Move from deprecated packages to graphql-scalars to handle scalar types 2022-08-02 11:45:59 +02:00
Jean-Sébastien Herbaux
9390f681bc
Merge pull request #13793 from ihmpavel/graphql-bounded
feat(graphql): Add bounded cache
2022-08-02 11:01:56 +02:00
Jean-Sébastien Herbaux
ce6c3f911e
Merge pull request #13855 from strapi/fix/dz-populate-same-field-name
Better handle populating of dynamic-zones
2022-08-01 11:31:04 +02:00
ihmpavel
6ae4e4a968
Merge branch 'strapi:master' into graphql-bounded 2022-07-29 13:59:20 +02:00
Bassel Kanso
66502b797e
Update packages/plugins/graphql/server/bootstrap.js with a comment
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2022-07-27 17:20:02 +03:00
Bassel Kanso
5620190597 remove unneeded async from handler 2022-07-27 16:42:10 +03:00
Bassel Kanso
4436f597d0 authorize /graphql route on GET by default 2022-07-27 16:33:29 +03:00
Bassel Kanso
2eb9b6f001 avoiding auth error in graphql route 2022-07-27 14:59:55 +03:00
Pierre Noël
952bca2dce better handle populating dz 2022-07-26 17:13:59 +02:00
Alexandre BODIN
bc60b90b9e
Merge pull request #13578 from meherchandan/fix/case-insensitive-equal-filter
fix: added new eqi operator for case insensitive equal search
2022-07-21 15:53:25 +02:00
ihmpavel
b67d9770fb
Remove unnecessary comment 2022-07-18 19:28:59 +02:00
ihmpavel
fd54a71f37
feat(graphql): Add bounded cache 2022-07-16 00:43:40 +02:00
meherchandan
a7131ca000 fix: review comments and added graphql operator 2022-07-12 16:19:51 +04:00
Convly
38e29b7110 fix style 2022-06-16 13:00:41 +02:00
Convly
34bb591cea Enable filtering on nested components 2022-06-16 10:21:03 +02:00
Gustav Hansen
8aaaff77d4 Chore: Prettify all files 2022-03-29 14:20:41 +02:00
Serge Harb
90e0cc44ee fix: pass cors and bodyParserConfig for apollo mw 2022-03-11 20:17:51 +01:00
Pierre Noël
c0fb7619ef rename toGraphQLName + check enum values don't start with a number 2022-03-03 16:35:41 +01:00
Pierre Noël
e85cfe73f0 allow special characters in an enum 2022-03-03 16:35:41 +01:00
Pierre Noël
f12c0ac4ee keep graphql date value as a string 2022-02-28 16:36:11 +01:00
Convly
d50519d2d6 Add a missing new keyword when trying to format the graphql errors 2022-02-22 12:14:50 +01:00
Convly
97254f8d42 Use strapi.config.get instead of process.env 2022-02-14 14:02:06 +01:00
Convly
974b33b336 Add dedicated configuration option for shouldGenerateArtifacts: generateArtifacts 2022-02-14 13:45:13 +01:00
Convly
ae7731ce31 Add configuration options to generate graphql schema + types 2022-02-14 11:01:24 +01:00
Convly
8270d9c7a4 Fix typo 2022-02-04 17:37:56 +01:00
Convly
fe4645c385 Allow SDL type definitions to beneficiate from Nexus types context & processing 2022-02-04 17:31:53 +01:00
Alexandre BODIN
1489a26bcb
Merge pull request #12080 from strapi/feature/policyError
Add PolicyError error class for use in policies
2022-01-19 10:38:00 +01:00
Jean-Sébastien Herbaux
dd0c256cef
Merge branch 'master' into fix/graphql-enum-not-generated 2022-01-05 16:11:54 +01:00
derrickmehaffy
4dbb64e8a2 change default policies error
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2022-01-03 06:25:18 -07:00
harimkims
f91376c407 Remove console.log
Signed-off-by: harimkims <harimkims@gmail.com>
2021-12-23 11:44:40 +09:00
harimkims
780247117f Fix GraphQL enums are genereated as String type
Signed-off-by: harimkims <harimkims@gmail.com>
2021-12-23 10:59:24 +09:00
Convly
0c558d92fa Take the playgroundAlways option into account for the graphql playground 2021-12-22 17:15:46 +01:00
vincentbpro
a5ac20dda0 fix: avoid divided by zero issue 2021-12-14 10:41:47 +01:00
vincentbpro
eab466bb65 Merge branch 'master' into v4/fix-fetch-all-entries 2021-12-02 16:04:49 +01:00
Kim, Harim
2b635fe656
Enumeration filter support for GraphQL (#11754)
* Enumeration filter support for GraphQL

Signed-off-by: harimkims <harimkims@gmail.com>

* Fix failed e2e test
2021-12-02 11:55:29 +01:00
Convly
6b2ea4039f Fix image querying in graphql relations 2021-11-24 16:19:50 +01:00
vincentbpro
cc4ffd1f57 Merge branch 'releases/v4' into v4/fix-fetch-all-entries 2021-11-23 16:22:48 +01:00
vincentbpro
9b244f8816 fix: pageSize meta improved 2021-11-22 10:46:03 +01:00
Alexandre BODIN
85884e42e4
Merge pull request #11630 from strapi/v4/graphql-only-register-writable-attributes-to-inputs
[V4] GraphQL - Only keep writable attributes in input types
2021-11-19 09:47:02 +01:00
Convly
7716baa483 Use isWritableAttribute from contentTypes utils 2021-11-18 17:15:33 +01:00
Convly
d9dd66de4d Only register writable attributes in input types 2021-11-18 16:36:29 +01:00
Convly
4a2f331120 Use getModel instead of contentTypes[] to handle both content types & components in components resolvers 2021-11-18 16:20:08 +01:00
Convly
f4bc56b1af Remove manually added timestamps from graphql types definition 2021-11-16 14:04:57 +01:00
Alexandre BODIN
6d18f8c15c
Merge pull request #11580 from strapi/v4/graphql-fix-component-filtering
[V4] GraphQL - Fix components' filtering
2021-11-16 11:07:26 +01:00
Convly
44aabde4dd Fix component filtering 2021-11-15 18:12:06 +01:00
Convly
09aaa1202e Merge branch 'releases/v4' of github.com:strapi/strapi into v4/graphql-add-id-filter-ct 2021-11-15 15:53:38 +01:00
Convly
e9e16b1fc9 Fix date filtering by not treating date objects as operators groups 2021-11-12 16:30:48 +01:00
Convly
ad8a5e7634 Handle case where the filter is manually disabled 2021-11-12 15:15:41 +01:00
Convly
bac9e8145e Add an ID filter to the collection type's args 2021-11-12 15:07:32 +01:00