Strapi core changed in the way that down the line populate is being checked if it has a count field. Without checking if populate field is an object. 🤷♂️
For boolean this works just fine. But if populate key is present at all it's value is used as-is.
Test Plan
Comments list should be readable without any issues.
Ticket
https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/issues/174
Relates to: https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/issues/146
Summary
What does this PR do/solve?
Strapi core changed in the way that down the line
populate
is being checked if it has acount
field. Without checking ifpopulate
field is an object. 🤷♂️For
boolean
this works just fine. But ifpopulate
key is present at all it's value is used as-is.Test Plan
Comments list should be readable without any issues.