I'm following the documentation and I'm getting an error when trying to filter games down to games with a certain team. The teamLink is a relationship field. I see it in the console.
const games = await client.get({
predicates: [
prismic.predicate.at("document.type", "game"),
prismic.predicate.at("my.game.teamLink.uid", params.uid),
],
});
Please help as I would like to use Prismic slices for my clients. thanks.