Panic while retrieving inner associations via pointer based outer association #578
Labels
bug
Something isn't working
f: associations
the associations feature in pop
s: triage
Some tests need to be run to confirm the issue
Milestone
Description
The application panics when trying to eager load multi-level associations.
Steps to Reproduce the Problem
I have below model structure in my application.
organisation.go
application.go
applicationtype.go
In the
Show
action oforganisations.go
, I am doing trying to eager load all the Applications for the current Organisation and also go another level deeper by eager loading Applicationtype for every Application found.Expected Behavior
The statement should return -
Actual Behavior
The statement succeeds when I convert
to
Info
OS: macOS Catalina v10.15.5
pop Version: 5.2.3 via Buffalo v0.16.10
The text was updated successfully, but these errors were encountered: