weaviate
weaviate copied to clipboard
Graph connection is not made when using the group function
The following query:
{
Get {
Publication(
group: {
type: merge
force: 0.1
}
) {
name
hasArticles {
... on Article {
title
}
}
}
}
}
results in:
{
"data": {
"Get": {
"Publication": null
}
},
"errors": [
{
"locations": [
{
"column": 5,
"line": 3
}
],
"message": "interface conversion: interface {} is strfmt.UUID, not string",
"path": [
"Get",
"Publication"
]
}
]
}
Thanks for discovering this bug. If I remember correctly, group/merge was only implemented for primitive props, not for ref-props. So even when this is fixed - and the error gone - I'm not sure what the behavior is going to be.
Aha - gotcha, in the past I did demo this and it seemed to work well
Interesting, do you remember when it last worked? I think this feature hasn't been touched in ages, but not sure.
Just validated against v1.0.0 and get the same error, so this must have been broken before this already.