gatsby-transformer-documentationjs creates nodes that can have non-unique ids, for example for comments like these:
/**
* This is a free-floating comment
*/
/**
* This is a function
*/
const fn = () => {}
When trying to build such a site with GATSBY_DB_NODES=loki this will throw:
error Error processing Markdown in node 27c286f3-9f32-5454-9d77-a9265e600a7d:
Trying to update unsynced document. Please save the document first by using insert() or addMany()
See repo: https://github.com/stefanprobst/gatsby-bug-docjs