We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0c14cd + a465bc6 commit c5d93beCopy full SHA for c5d93be
1 file changed
README.md
@@ -245,7 +245,7 @@ Possible values are:
245
The [include names](http://fractal.thephpleague.com/transformers/#including-data) that should be included for the current request, if any.
246
247
```php
248
-'includes' => Craft::$app->request->getQueryParam('include'),
+'includes' => (array)Craft::$app->request->getQueryParam('include'),
249
```
250
251
Note that this setting requires a custom transformer class that’s prepped to handle includes:
0 commit comments