adobe / aem-headless-client-js

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

PersistedQuery variables are not supporting nested objects #49

Closed easingthemes closed 1 year ago

easingthemes commented 1 year ago

If nested object is passed as a variable, in PersistedQuery it's converted to [Object]. https://github.com/adobe/aem-headless-client-js/blob/main/src/index.js#L107

Expected Behaviour

Nested object can be sent as a variable in persisted query

Actual Behaviour

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem