{
var(func: eq(userlist.publicId, "1010")){
userlist.userInterests @facets (priority){
id as skills.skillPublicId
}
}
{
my(func: eq(userlist.publicId, "1010")){
username: userlist.username
publicId: userlist.publicId
collaboration: userlist.collaboration @facets(skillPublicId: skillPublicId) @facets(eq(skillPublicId, val(id))){
username: userlist.username
publicId: userlist.publicId
}
}
}
}
I’m trying to find the userInterests for a given user and these userInterests in a variable named id are used to filter the facets. But I’m getting this error (please find the attached screenshots) This works if I hardcode a value.
Please help me, thanks!
