Skip to content

Commit

Permalink
benchmark: Further fixes to benchmark to correct an error using Objec…
Browse files Browse the repository at this point in the history
…tIDs
  • Loading branch information
notheotherben committed Nov 17, 2015
1 parent e37b56e commit 108e471
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/mongodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ class User {

static collection = "user";
static schema = {
_id: true
_id: String
};
}

@Iridium.Collection("userWrapped")
class WrappedUser extends Iridium.Instance<UserDocument, WrappedUser> {
@Iridium.Property(String, true)
_id: string;
}

Expand Down

0 comments on commit 108e471

Please sign in to comment.