Open mindplay-dk opened 7 years ago
This currently affects InsertQuery::add()
as well - though I'm wondering if changing that is potentially a breaking change? e.g. for sloppy code that relies on things like get_object_vars()
to quickly serialize model-properties?
Currently,
UpdateQuery::assign()
will silently ignore unexpected properties.This leads to silent bugs.
We should throw an exception for unexpected properties.