You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tags field on Doc type is a list of references. It should validate when a value doesn't match a valid (relative) path to a file matching the correct type.
Today if I do this in my doc's frontmatter:
---
title: Hello Worldtags:
- Hello
- World
---
I see a warning:
└── 2 documents contain field data which didn't match the structure defined in the document type definition
• "index.mdx" of type "Doc" has the following incompatible fields:
• tags: undefined
• "sub/b.mdx" of type "Doc" has the following incompatible fields:
• tags: undefined
But it still generates the document with the list like so:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
stale commentedon Mar 6, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
schickling commentedon Sep 9, 2022
This should be addressed with the
0.2.8release. 🎉