hello , I am using shopify remix to develop apps and graphql api.
so Iam query the data like this
const { admin, session, billing } = await authenticate.admin(request);
let adminData = await admin.graphql(
`#graphql
query {
shop {
name
email
id
myshopifyDomain
shopOwnerName
}
}`,
);
but Iam getting error because of the shopOwnerName field . but if I use the same query in grapqhl playground then Im getting the results why ?
error is like this GraphqlQueryError: Field ‘shopOwnerName’ doesn’t exist on type ‘Shop’