Preview Link Resolver doc.isBroken clarification

I am fairly new to Prismic and had a question about the doc.isBroken attribute that is used in the Link Resolver. Here's a link to the documentation I'm referencing

What causes a document to have isBroken: true?

Hey @jim, welcome to the community

This type of value helps you to add validation when a Link to another document is not working. For example, if you have a Content Relationship field that links to a Homepage Custom Type but then you delete the document for that homepage, the Content Relationship field will result in a broken link.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.