Apollo client
-
I am using WordPress and Next js with Apollo client.
I have a custom post type in WordPress named Work.
If I query in graphql IDE like: work(id: “slug-of-page”, idType: SLUG) {},its giving me exact data.
But apollo client returns null data.
If i use workBy(uri: “uri-of-page”) {} instead, apollo client returns data properly.
I am confused on where to ask help for this.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Apollo client’ is closed to new replies.