I am getting the following error when linking posts (products) to each other in my “related products” section.
SerializableError: Error serializing .data[0].relatedProducts[0].fields.relatedProducts[0].fields returned from getServerSideProps in “/products/[slug]”.
Reason: Circular references cannot be expressed in JSON (references: .data[0]).
I have tried both “contentful”: “^7.14.0” and "“contentful”: “^7.1.0-beta1”.
There should be documentation on how to fetch a rich text body which contains links to entries, which contains links to entries, without everything breaking because of circular reference.