Closed joonas closed 2 years ago
This addresses the case where a relationship from one struct to another is set up as a pointer.
I found this easiest to illustrate by changing both of the Address references in test/user/models/user.go to pointers, which results in the following diagram prior to this change:
test/user/models/user.go
And with the change it results in what you would expect:
This addresses the case where a relationship from one struct to another is set up as a pointer.
I found this easiest to illustrate by changing both of the Address references in
test/user/models/user.go
to pointers, which results in the following diagram prior to this change:And with the change it results in what you would expect: