* 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>
* 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>