model rules filter methods for subdocuments

model rules filter methods for subdocuments returns the modified values after validation for subdocuments. you can use that if you want to cast ur values before saving to collection.