We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6064848 + edd0186 commit b5012cbCopy full SHA for b5012cb
config/query-builder.php
@@ -53,11 +53,11 @@
53
/*
54
* By default, the package expects relationship names to be snake case plural when using fields[relationship].
55
* For example, fetching the id and name for a userOwner relation would look like this:
56
- * GET /users?fields[user_owner]=id,name
+ * GET /users?include=userOwner&fields[user_owners]=id,name
57
*
58
* Set this to `false` if you don't want that and keep the requested relationship names as-is and allows you to
59
* request the fields using a camelCase relationship name:
60
- * GET /users?fields[userOwner]=id,name
+ * GET /users?include=userOwner&fields[userOwner]=id,name
61
*/
62
'convert_relation_names_to_snake_case_plural' => true,
63
0 commit comments