Containing hasMany in a find all?

Is this supposed to be supported? Because I don’t think I’ve ever managed to get a working query when I contain a hasMany entity on a main entity find(‘all’) query.

In the past, I’ve queried the related entity instead, and then contained the main entity, which seems goofy when I’m in the main entity’s controller and my view is all about the main entity.

I’m in a situation now where it’s simply not workable to query the sub-entity and need to get my hasManys included in a find All query. If this is not supported then I guess I’ll write out a query long hand.

But surely I’m doing something wrong and this is in fact supported?

without the code its hard to tell the issue you have

Share some code snippet, it would be easier to understand your problem.