Add some casting addon or function based on MongoDB's implementation of JSON Schema
Without casting addons, there is a need to iterate though each property just to check if this value needs some casting (most probably this can be easily done on type check). I´m having special troubles with Date type, as most of the time this type is send as an ISO string, but saved in the DB as a DATE
1
vote
Sebastian Guozden
shared this idea