Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/query-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
/*
* By default, the package expects relationship names to be snake case plural when using fields[relationship].
* For example, fetching the id and name for a userOwner relation would look like this:
* GET /users?fields[user_owner]=id,name
* GET /users?include=userOwner&fields[user_owners]=id,name
*
* Set this to `false` if you don't want that and keep the requested relationship names as-is and allows you to
* request the fields using a camelCase relationship name:
* GET /users?fields[userOwner]=id,name
* GET /users?include=userOwner&fields[userOwner]=id,name
*/
'convert_relation_names_to_snake_case_plural' => true,

Expand Down