Thephpleague/fractal - Include Parameters not possible on nested Includes

I going through this http://fractal.thephpleague.com/transformers/ but unable to make the following endpoint work:

book/?include=comment:limit(5)

When I hit the above endpoint, i get the error

Call to undefined relationship [comment:limit(5)] on model […]

Basically I want to limit the number of comments per book to 5.

What am I missing here?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.