Hi everyone,
I have some really frustrating problem with related contents content type.
Beside the annoying bug that doesn't let me set a constrain now i'm also getting an other bug! the query always return { document: null } on my newly created related contents gatsby query
this is my schema:
{
"Main" : {
"uid" : {
"type" : "UID",
"config" : {
"label" : "uid"
}
},
"projects" : {
"type" : "Group",
"config" : {
"fields" : {
"project" : {
"type" : "Link",
"config" : {
"select" : "document",
"label" : "project"
}
}
},
"label" : "projects"
}
}
}
}
this is my query
prismicProjectsOrdering {
data {
projects {
project {
document {
...on PrismicProject {
uid
id
}
}
}
}
}
}
unfortunately the document
return always null, however a custom type that i created a while ago, in the same way, so content model > add group > add content relation
works fine, the document is filled with the right data, perhaps the only thifference is that in the old one i could set the constrains while in the new one i obviously can't cause of the dropdown bug.
any idea?
thanks