Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View entity does not return related entities #206

Closed
2 tasks done
akeemphilbert opened this issue Jul 26, 2022 · 0 comments
Closed
2 tasks done

View entity does not return related entities #206

akeemphilbert opened this issue Jul 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@akeemphilbert
Copy link
Contributor

akeemphilbert commented Jul 26, 2022

the ViewMiddleware / Controller uses the GetByKey and GetContentEntity methods on the GORM projection which doesn't return related entities. the GetList method does return the items with relations. In theory all the methods use the same GORM query build functions Table, Model, Preload and Find.

  • Write test to replicate issue
  • Try omitting fields and see if that helps (that seems to be the only different from GetList
@akeemphilbert akeemphilbert added the bug Something isn't working label Jul 26, 2022
@akeemphilbert akeemphilbert self-assigned this Aug 6, 2022
akeemphilbert added a commit that referenced this issue Aug 6, 2022
akeemphilbert added a commit that referenced this issue Aug 6, 2022
Fixed #206: Removed address reference to model in gorm query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant