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:
1 file changed
+1
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user