JSON Api allows for modification of details of what is rendered from the base entity information. The gatsby instant preview/ fast builds log relies on the entity type name matching for it to load related entity json
To reproduce write a custom module, or use JSON API extras module to modify the resource type name of entity referenced by a node. Then create/ update a node which has a reference to the entity that has had its JSON API resource type name modified. If the modification no longer follows the `entity type id--bundle` format, then the log will not be written.
Don't rely purely on the output of the JSON API endpoint to load related entities, and instead load the type information from JSON API, and pull the actual entity type from that list.
I've attached a patch which I believe addresses the issue, but it needs review.
Needs work
2.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.