exaxisllc / SMD

Scala Mongo DAO library that wraps the ReactiveMongo library. It reduces the amount of code required to get code in and out of MongoDB
1 stars 0 forks source link

JSON Validation needs to be performed #1

Open berryware opened 6 years ago

berryware commented 6 years ago

There needs to be json validation available both in the SMD classes, as well as at the implementor level. Creates, for example, need to validate that no id is specified and generate an id automatically

berryware commented 6 years ago

The library now checks to make sure that no id exists for a create and that an id does exist for updates.