I working with ROM-mongo on a mongo DB that have dynamic fields on each collection, I defined a schema for the collection, but ROM struct raises an exception when trying to instantiate a new struct for document with a missing field. I think the mongo schema should be dynamic and accept missing fields.
I working with ROM-mongo on a mongo DB that have dynamic fields on each collection, I defined a schema for the collection, but ROM struct raises an exception when trying to instantiate a new struct for document with a missing field. I think the mongo schema should be dynamic and accept missing fields.