adobe / aem-headless-client-js

AEM Headless Client for JavaScript
Apache License 2.0
25 stars 12 forks source link

fix: #61 failing requests for queries with multiple parameters #63

Closed colinscz closed 4 months ago

colinscz commented 5 months ago

Description

Fixes #61 The current implementation is not reflecting the documented behaviour: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/headless/graphql-api/content-fragments#dynamic-image-delivery-multiple-specified-parameters

Related Issue

Motivation and Context

This fixes the issue you run into when running a persistedQuery containing two parameters in the GET request.

How Has This Been Tested?

Unit test has been added, but example project on AEM side needs to be extended with a query supporting at least 2 parameters in order to test it fully.

Screenshots (if appropriate):

Types of changes

Checklist: