You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you assign an Image to this relationship, then changes to the Image correctly invalidate the cache for MyBlock.
If you assign a Video to this relationship, then changes to the Videodo not invalidate the cache for MyBlock.
I thought I had covered this already, but I guess not. There must be an issue with the way we fetch Edges, in that it's not considering that it could be a descendant of the $from class that is trying to retrieve the Edge, or potentially we should be creating Edges for each valid $from class.
At the moment, it seems like we create one Edge$fromImage$toMyBlock.
The text was updated successfully, but these errors were encountered:
Setup
The intention of the setup below is that
MyBlock
could have anImage
or aVideo
assigned to it.Result
If you assign an
Image
to this relationship, then changes to theImage
correctly invalidate the cache forMyBlock
.If you assign a
Video
to this relationship, then changes to theVideo
do not invalidate the cache forMyBlock
.I thought I had covered this already, but I guess not. There must be an issue with the way we fetch
Edges
, in that it's not considering that it could be a descendant of the$from
class that is trying to retrieve theEdge
, or potentially we should be creatingEdges
for each valid$from
class.At the moment, it seems like we create one
Edge
$from
Image
$to
MyBlock
.The text was updated successfully, but these errors were encountered: