adobe / aem-headless-client-js

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

#37 add support for variables #41

Closed easingthemes closed 1 year ago

easingthemes commented 1 year ago

Description

Add variables support in runQuery mehod.

   /*
   * @param {string|object} body - the query string **or an object with query (and optionally variables) as a property**
   */
  async runQuery (body, options = {}, retryOptions = {})

Related Issue

Fixes #37

Motivation and Context

How Has This Been Tested?

Unit tests

Screenshots (if appropriate):

Types of changes

Checklist: