j2labs/schematics — pull request #211 by zroger (2014-04-16 13:58:19+00:00)
Title: Support exporting ModelType fields with subclassed model instances.

Fixes an issue where exporting a model (either to_native or to_primitive) with ModelType field. If the value of the field is an instance of a subclass of model class used to instantiate the ModelType, the value is exported as if it was an instance of the base class.

See #184 for a full example.