@frisco wrote:
I have one part of my model that is read only and almost static, it only changes from time to time and I want to preload when the application starts pushing the data to the store but the point is that I want to disable any further request to that endpoint.
I know I can use peek for routes but it has relationships with other models so maybe when I access via the relationship it will trigger a fetch.
Lets say static model is B and A.b is a belongs to B.
When I use a.b in my component, will that call the endpoint of B even if it is in the storage?I have also thought about going for a computed property and a service, but I am not sure if that's a better fit in that case.
Posts: 1
Participants: 1