Merge pull request #3571 from bluewave-labs/fix/check-schema-errors-warning

fix(server): suppress mongoose reserved-key warning on Check.errors
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-04-24 10:19:03 -07:00
commit e413991e63
1 file changed
+1
+1
View File
@@ -271,6 +271,7 @@ const CheckSchema = new Schema<CheckDocument>(
{ {
timestamps: true, timestamps: true,
strict: false, strict: false,
suppressReservedKeysWarning: true,
timeseries: { timeseries: {
timeField: "createdAt", timeField: "createdAt",
metaField: "metadata", metaField: "metadata",