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.
@@ -1399,8 +1399,7 @@ function createWhereBuilder(typeMap, enumMap, scalarBase) {
1399
1399
  enumMap,
1400
1400
  scalarBase
1401
1401
  );
1402
- const shorthand = equalsBase.transform((v) => ({ equals: v }));
1403
- fieldSchemas[fieldName] = import_zod4.z.union([refined, shorthand]).optional();
1402
+ fieldSchemas[fieldName] = import_zod4.z.union([refined, equalsBase]).optional();
1404
1403
  } else {
1405
1404
  fieldSchemas[fieldName] = refined.optional();
1406
1405
  }