Deprecate createRecord and createRecordFromJSON preferring new MyRecord
Currently you can create a record instance in two ways -- MyRecordMeta.createRecord or new MyRecord. Prior to the fix for #354, doing the latter resulted in a not-entirely-initialized Record instance.
It's not good to have two ways to create a record, since problems like this one where the paths differ in the results, so the plan is to deprecate the two methods on MetaRecord and then eventually remove them.
Calls to MyRecordMeta.createRecord should be replaced with new MyRecord.
Calls to MyRecordMeta.createRecordFromJSON should be replaced with new MyRecord().fromJSON
It's not good to have two ways to create a record, since problems like this one where the paths differ in the results, so the plan is to deprecate the two methods on MetaRecord and then eventually remove them.
Calls to MyRecordMeta.createRecord should be replaced with new MyRecord.
Calls to MyRecordMeta.createRecordFromJSON should be replaced with new MyRecord().fromJSON
Leave a comment
Pushed to master http://github.com/dpp/liftweb/commit/88bede687aaf251d48b958e6658a4f82be4be50b
Pushed to 280_port_refresh http://github.com/dpp/liftweb/commit/0b3b12dd89c1fc7e4e51ae56528f3d733b3ddeed
Pushed to 280_port_refresh http://github.com/dpp/liftweb/commit/0b3b12dd89c1fc7e4e51ae56528f3d733b3ddeed
Wrong commit to 280_port_refresh. Proper commit is http://github.com/dpp/liftweb/commit/0aebe616a808b71ec418a294e680b816ec3599db