Repository navigation
Eager loading in global replicators #847
DescriptionWe have a global created that links a Runway model to additional Statamic content. This is done using a replicator so multiple attributes can get a tooltip Looping over these items causes a database query per tooltip. Is there any way to eager load these relationships in a single query. Eager loading between runway models can be solved using https://runway.duncanmcclean.com/resources#eager-loading but i'm unsure if it's even possible between a Statamic entry and a Runway model. Has anyone run into this before, is there any way to fix this? Our current workaround is caching the result. EnvironmentEnvironment Cache Drivers Storage Sentry Statamic Statamic Addons Statamic Eloquent Driver |

Can you give #848 a try?