Possible error in the Thinky docs at the post
example. It says that createdAt
should be type.string().default(r.now())
, but I think it's supposed to say type.date().default(r.now())
.
See the code below for an example, it should throw an error because of line 19.