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