After spark major update, deep preload not working.
Sorry for short description only.
With spark 0.4.12, 2 or more depth preload is working fine, but with spark 1.1.4 only 1 depth preload works.
i.e.)
- resource A
has one resource B
- resource B
belongs to resource A
many to many resource C through resource D
- resource D
belongs to resource B
belongs to resource C
with this resources,
A |> Api.read(load: [b: :c])
returns empty :c.
however
B |> Api.read(load: :c)
returns correct :c.
3 Replies
Can you check against latest ash release?
thanks. it works well now.
was it fixed in ash 2.9.1, right?
I believe so, yes