I’ve got a few resources which are probably best
represented as generalization hierarchies – as a simple example let’s
say you have Students, Teachers, and Administrators who are all subtypes of
Persons. In the standard denormalization process I collapsed the subtypes
into the supertype and only created the model / table for Person/People with a
I want to create each of the subtypes as resources, so that
I could for example request a GET on Students. At the same time, I’d
like to only have one controller. Has anyone tried doing this?
Seems there should be an easy way to set up routes to handle this, but I’m
not seeing it.
408 West, LLC