The main fix here is to throw more helpful errors when attempting to set a field of the wrong type (which can happen implicitly sometimes on embedded objects).
Also a refactor to pull out the custom types into their own module, reducing the amount of code in Entity.py
The main fix here is to throw more helpful errors when attempting to set a field of the wrong type (which can happen implicitly sometimes on embedded objects). Also a refactor to pull out the custom types into their own module, reducing the amount of code in Entity.py