meteor-collection2 icon indicating copy to clipboard operation
meteor-collection2 copied to clipboard

Some Additional Validation Checks

Open aldeed opened this issue 12 years ago • 2 comments

Add some validation checks for mongo operators that can't be done by SimpleSchema. See aldeed/meteor-simple-schema#9.

  • [ ] $rename (make sure existing values for the renamed key validate for the new key name)
  • [ ] $inc (check min/max and allowed values)
  • [ ] $addToSet (check maxCount)
  • [ ] $push (check maxCount)
  • [ ] $pull (check minCount)
  • [ ] $pullAll (check minCount)
  • [ ] $pop (check minCount)

aldeed avatar Aug 29 '13 20:08 aldeed

+1

markudevelop avatar Jul 14 '15 19:07 markudevelop

+1

SierraGolf avatar Nov 13 '15 07:11 SierraGolf