joshuabowers / opium

An Object Parse.com Mapping technology for defining models.
MIT License
1 stars 0 forks source link

belongs_to needs to be able to support polymorphism. #44

Open joshuabowers opened 9 years ago

joshuabowers commented 9 years ago

So that the same class can be used in multiple contexts and correctly address its owner.

Obvious caveat of this approach: not possible to look up a polymorphic reference without outside context.