Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Managed Object subclasses mixed with parent classes #23
I have an entity called Item, and some subclasses of it like RecommendationItem.
In pony debugger when I go to my store and select Item entity I see some Items mixed with RecommendationItem in the list of objects. I was expecting to see only Item objects.
Is that normal?
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I think I forgot about this case. It should be reasonable to keep the current behaviour for abstract entities, and only query for the exact entity if it isn't abstract (the behaviour you're looking for). This should be pretty easy fix, and I'll try to get a patch in soon. Thanks for catching this.