System Information
- 3.6.5:
- Windows:
- PostgreSQL:
- Node Version: Current:
- NPM Version: Current:
- Yarn Version: Current:
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!