prisma-guard 1.10.0 → 1.11.0

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.
@@ -1369,8 +1369,7 @@ function createWhereBuilder(typeMap, enumMap, scalarBase) {
1369
1369
  enumMap,
1370
1370
  scalarBase
1371
1371
  );
1372
- const shorthand = equalsBase.transform((v) => ({ equals: v }));
1373
- fieldSchemas[fieldName] = z4.union([refined, shorthand]).optional();
1372
+ fieldSchemas[fieldName] = z4.union([refined, equalsBase]).optional();
1374
1373
  } else {
1375
1374
  fieldSchemas[fieldName] = refined.optional();
1376
1375
  }