vertical-knowledge / ripozo

A tool for quickly creating REST/HATEOAS/Hypermedia APIs in python
http://ripozo.readthedocs.org/
GNU General Public License v2.0
201 stars 22 forks source link

Dispatchers controlling relationships rather than the ResourceMetaClass #40

Open timmartin19 opened 9 years ago

timmartin19 commented 9 years ago

The ResourceMetaClass currently handles the relationships between resources. It would be better for a multitude of reasons including the removal of the dumb as hell meta class that currently manages them and the included ability of independently managing api versions (you would be able to independently set the base url, e.g. "apiv1" or "apiv2").

timmartin19 commented 9 years ago

The Relationship.relation property makes this difficult without getting dirty.