Why is the domain name undefined in my GraphQL client with Shopify CLI 3.0?

Why is the domain name undefined in my GraphQL client with Shopify CLI 3.0?

Divy_tatva
Shopify Partner
32 1 12

Hello

 

In shopify CLI 3.0, i have created graphql client using this method.

 

 const client =await new shopify.api.clients.Graphql({ session });
 
Client is successfully created but domain name shows undefined.
Client log:- 
 GraphqlClient {
       baseApiPath: '/admin/api',
       session: [
         Session {
          "current Session"
         }
       ],
       apiVersion: undefined,
       client: HttpClient { loggedDeprecations: {}, domain: undefined }
     }
 
Don't know why domain name shows undefined.
 
Thank you
Replies 0 (0)