diff --git a/config/query-builder.php b/config/query-builder.php index 52604504..ca770550 100644 --- a/config/query-builder.php +++ b/config/query-builder.php @@ -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,