Marshall Cottrell

Results 133 comments of Marshall Cottrell

Well this is a `hasOne` so the array length is always 1 in this case, is that what you're asking? In terms of total documents, the "left" table has about...

I think the solution to validating on retrieval would be for `thinky` to inspect the Joi schema you pass in to create the Model and replace (for example) instances of...

On second thought, it might be as simple as adding another alternative `Joi.object().type(r._Term)`?

I would prefer it if `range` was just an array by default and `.toPatch()` implemented the JSON patch behavior you described. I think the more common case is that people...

@neumino are you talking about the bracket ReQL term? Doesn't this already work on `Query`?

You're right. I was thinking of inner queries using `r.row()`.

Perhaps in addition to printing a warning, these stats could be accumulated internally and you could retrieve them later via something like `rethinkdbdash.report()`. This would allow you to run tests,...

@neumino if you just need to use tabs instead of spaces, `JSON.stringify(..., null, '\t')` should work.

@neumino my pleasure! I see what you mean, it might throw people off if they've been using `enforce_type: false|loose`. Maybe it makes sense to only do this for `strict` since...

@mstade `undefined` values already get populated with their defaults. This issue is aimed at treating `null` the same way.