Closed trithien98 closed 3 years ago
Hi,
same issue for me.
I get this error message:
Cannot query field "wooCountries" on type "RootQuery".
@trithien98 , need to install Headless CMS plugin too.
@trithien98 , need to install Headless CMS plugin too.
yah. i miss this plugin
Hi , i had install 2 plugin wp-graphql and wp-graphql-woocomerce in new version update from plugin folder. And i want to query country , after install 2 plugin ,I cant see field wooCountries from graphql ide .So how can i do this.Thank you `import { gql } from "@apollo/client";
/**
query GET_COUNTRIES{ wooCountries { billingCountries { countryCode countryName } shippingCountries { countryCode countryName } } }
;export default GET_COUNTRIES;`