This article explains how populating works
Also if you don’t want to write it by hand you can use the following plugin but you need to enable the auto-populate setting. and then populating notting.
or a 3rd option is
Note that this will lead to performance issues in production since it populates a lot more invisible things you can’t see.