Hi,
currently I'm testing to fetch data on the server side with Next.JS and the following code:
export async function getServerSideProps({ query }) {
const client = Client();
const report = await client.getByUID("report", query.slug, { lang: "de-de" });
return {
props: {
report
}
};
}
In the content model I've also integrated a repeater field with a content relationship. Now I want to query also the content of the documents from the content relationship field.
How can I do this?