System Information
- Strapi Version: 3.6.5
- Operating System: Windows 10
- Database: PostgreSQL
- Node Version: v12.21.0
- NPM Version: 7.15.0
- Yarn Version: 1.22.10
Hello, I am trying to run the following query on GraphQL:
query GetArticle($id: ID!){
article(id: $id , publicationState:LIVE){
id,
published_at,
description
}
}
Where my query format in the schema is as follows:
type Query {
article(id: ID!, publicationState: PublicationState): Article
However, any time I run this query, I always only get the Article where id is 1? I’ve tried to set the query with a hard variable too, as you can see below.
I’ve also tried not running it in Playground. In Apollo GraphQL on Android, the query I set up with any ID always returns the elements of the article where id is 1, nothing else.
I am just using the default blog template, so it should be fairly easy to reproduce?
What might be causing this? Thank you!