-
Hi, I had a question about My code runs as expected in the simulator and in the test environment (which runs the Here's my
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @kevvdevv, can you try using |
Beta Was this translation helpful? Give feedback.
-
Hi @mbrandonw, Thanks for that suggestion. I added the
|
Beta Was this translation helpful? Give feedback.
Hi @kevvdevv, sorry I led you astray. The problem is that in a preview like this:
…is transformed into something like this:
And so you can see that
@FetchAll
is unfortunately accessed beforeprepareDependencies
.The only workaround I can think of is to extract your view into a separate view so that it can delay when
@FetchAll
is actually accessed: