-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: enhancementIssue suggesting an enhancement to an existing featureIssue suggesting an enhancement to an existing featureseverity: lowIf the issue only affects a very niche base of users and an easily implemented workaround can solveIf the issue only affects a very niche base of users and an easily implemented workaround can solvesource: core:content-managerSource is core/content-manager packageSource is core/content-manager package
Description
Describe the bug
As my project has grown, I have seen the administration panel become slower and slower. Today I found one of the reasons: The auto population.
For example, if I have a Post model with an authors field.
And this authors field is a relationship with the User model.
When I create a new post, and search users in the authors dropdown, the query get all the user information, with their auto populated relations. And this is crazy! 😅
And it gets worse now when my User model has more than 10 relationships.
Expected behavior
Just request the minimum information: they key to show in the dropdown selector.
System
- Node.js version:
v12 - NPM version:
v6 - Strapi version:
v3.0.0-beta.18.2 - Database: MongoDB
- Operating system: macOS
pravosud, jbgraug, abdonrd, enma7, baermathias and 1 more
Metadata
Metadata
Assignees
Labels
issue: enhancementIssue suggesting an enhancement to an existing featureIssue suggesting an enhancement to an existing featureseverity: lowIf the issue only affects a very niche base of users and an easily implemented workaround can solveIf the issue only affects a very niche base of users and an easily implemented workaround can solvesource: core:content-managerSource is core/content-manager packageSource is core/content-manager package