12 Commits

Author SHA1 Message Date
Ben Irvin 79a590a581 security(feat): add strictParam, addQueryParams, addBodyParams (#25528) 2026-02-24 13:51:33 +01:00
Ziyi 062cd562d0 feat(): add hasPublishedVersion parameter for Document Service (#25292)
* feat(): add hasPublishedVersion parameter for REST API

* fix(): add tests and small fixes

* fix(): fix documentID being overwritten and add tests

* fix(): add filter function so it works for both root and nested queries

* feat(): add parameter for graphQL and tests

* fix(): only add agrs to schema when draft and published is enabled

* test(api): graphql and findfirst tests

* Update packages/core/utils/src/convert-query-params.ts

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

* fix(): fix graphql nested relation issues, add tests

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2026-02-18 10:03:29 +00:00
Dmitry Maklygin e20ea8327a fix: unable to customize cors settings in graphql plugin (#22852)
* fix: unable to customize cors settings in graphql plugin

* fix(graphql): restore CORS configuration support with Strapi 4 compatibility

---------

Co-authored-by: Dmitry Maklygin <dmitry.maklygin@toptal.com>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2025-11-14 11:03:33 +02:00
markkaylor 0b3ba1bea8 fix(graphql): draft and publish document does not forward root query args (#23737) 2025-06-24 15:21:44 +02:00
markkaylor 063e359981 fix: one to many relations returns published and draft versions (#23673) 2025-06-06 17:06:45 +02:00
Convly ee9df65e67 test: filtering on components and associations 2025-01-24 11:28:37 +01:00
Jean-Sébastien Herbaux fef0f91d51 fix: Remove Private Attributes from GraphQL Filters and Inputs (#21934) 2024-11-25 11:05:48 +01:00
Ben Irvin 1a60292e6f test(api): enable graphl and upload tests (#21500) 2024-10-01 11:31:13 +02:00
Alexandre Bodin 441d4a0584 fix: merge issue with graphql 2024-04-03 14:24:08 +02:00
Alexandre Bodin 7f1131651e fix: v4 test failing with apollo migration 2024-04-03 14:05:35 +02:00
Ben Irvin 2ef71bdf4c Merge branch 'develop' into v5/main 2024-04-02 16:25:24 +02:00
Ben Irvin cf82c830d8 test: restructure test dirs 2024-04-02 11:19:43 +02:00