Hi there,
I am trying to fetch content using graphql but one of the referenced content items doesn’t have the content type in the GraphQL Playground schema.
The query looks like this:
query {
catalogueCollection(where:{ slug:"example-slug"}, limit: 1) {
items {
productsCollection(limit:50) {
items {
slug,
phonesCollection(limit: 20) {
items {
id,
productCode,
url,
type,
someParameters {
__typename <---------------
},
}
}
}
}
}
}
}
I can only seem to query __typename
under someParameters
because it’s the only field that’s recognized by GraphQL Playground app. I checked the schema and its not defined for someParameters content type. For most others I do see definitions in the schema.
Any thoughts on why I’m not able to see the fields for this content type and what a workaround to this is? The field I am trying to query is a single reference to a someParameters
content item.