electron-RxDB icon indicating copy to clipboard operation
electron-RxDB copied to clipboard

Models without searchIndexes defined break db setup

Open adragoset opened this issue 8 years ago • 0 comments

If a model doesnt have searchIndexes property defined _runDatabaseSetup will break with a null reference exception. Ideally i should be able to define a model without a searchIndexes property if the model has no searchIndexes. The base model should implement this property as an empty object if setup code absolutely requires it.

adragoset avatar Jun 21 '17 21:06 adragoset