This patch simply makes make-dao-instance generic. I've checked that it never actually gets a class name instead of class object so ensure-class is not needed.
I need it to do special processing of objects retrieved from the DB before returning them to the caller and this function is where all of them are created. I may also need another metaclass for dao, subclassing dao-table-class and if this function is not generic I won't be able to modify its behaviour for the subclass.
This patch simply makes
make-dao-instance
generic. I've checked that it never actually gets a class name instead of class object soensure-class
is not needed.I need it to do special processing of objects retrieved from the DB before returning them to the caller and this function is where all of them are created. I may also need another metaclass for dao, subclassing
dao-table-class
and if this function is not generic I won't be able to modify its behaviour for the subclass.