This is first attempt at pulling linked entities when Gatsby receive publish webhook.
In case of rich_text (Modular content) fields as well as link(s) we receive just ids of entities to link too, but we don't receive detailed data about those entities so those fields are kept empty. This PR looks to collect linked entity ids and pull them in one go and attach those linked entities with payload.included (entitiesRepo seems to be prepared to handle those additional entities already)
This is first attempt at pulling linked entities when Gatsby receive
publish
webhook.In case of
rich_text
(Modular content) fields as well aslink(s)
we receive just ids of entities to link too, but we don't receive detailed data about those entities so those fields are kept empty. This PR looks to collect linked entity ids and pull them in one go and attach those linked entities withpayload.included
(entitiesRepo
seems to be prepared to handle those additional entities already)