prisma-client-php 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -241,7 +241,7 @@ final class PPHPUtility
241
241
  throw new Exception("The '$value' is indexed, waiting example: ['$value' => true]");
242
242
  }
243
243
 
244
- if (is_array($value) && isset($value['include'])) {
244
+ if (is_array($value) && array_key_exists($key, $fields)) {
245
245
  $includes[$key] = $value;
246
246
  } elseif (is_bool($value)) {
247
247
  $includes[$key] = $value;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prisma-client-php",
3
3
  "description": "Prisma Client PHP is an auto-generated query builder that enables type-safe database access in PHP.",
4
- "version": "0.0.26",
4
+ "version": "0.0.27",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "scripts": {