GraphQL Query reference issue
I am having an issue with Content Fragment GraphQL Query.
I have model A which holds a fragment reference to Model B.
Model A has name field and ModelB reference. Model B has a field called category.
I want to get both the result in 1 query like
modelAList{
items{
name
modelBList
{
category
}
}
}
But it gives me syntax error "message": "Validation error (FieldUndefined@ Field 'category' in type 'AllFragmentModels' is undefined",