From 108e4719bb13ea40befd895211a02393fefb6675 Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Tue, 17 Nov 2015 07:18:36 +0200 Subject: [PATCH] benchmark: Further fixes to benchmark to correct an error using ObjectIDs --- benchmarks/mongodb.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmarks/mongodb.ts b/benchmarks/mongodb.ts index 93650c4..b1dcfcb 100644 --- a/benchmarks/mongodb.ts +++ b/benchmarks/mongodb.ts @@ -17,12 +17,13 @@ class User { static collection = "user"; static schema = { - _id: true + _id: String }; } @Iridium.Collection("userWrapped") class WrappedUser extends Iridium.Instance { + @Iridium.Property(String, true) _id: string; }