This is a replication of a bug where references are not updated if they are wrapped within a list.
To observe the bug:
- Run
pnpm install - Run
pnpm dev - Go to http://localhost:3000/admin/index.html#/collections/author/~
- Delete
content/authors/napoleon.md - You will see that the reference to
napoleon.mdremains incontent/posts/learning-about-markdown.mdx, whereas it has been correctly removed fromcontent/posts/learning-to-blog.mdx
The schema change that makes this fault apparent is here
Licensed under the Apache 2.0 license.