You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if you plan to add support for api version and throttling. However, I'd be really interested in your opinion on the subject and your recommendation for restless-based projects.
The text was updated successfully, but these errors were encountered:
@joshfriend. I use Django and for now, I just name the API app, v1 and later on copy app and name it v2,v3 etc. and they all can co-exist. It works and easier to maintain, but lot of duplicate code.
Right now, there's no plans to add either. In Django, you should be able to achieve this via your URLconf (r('v1/whatever/', include(WhateverResource.urls())),). You should also be able to prevent a lot of duplication by simply subclassing your (previous version) resources, rather than copying everything.
As for throttling, I waffle. The real problem is that you need a persistent data store to track it & everyone has a different opinion about where they want to store that data (flat file, SQL DB, Redis, memcached, etc.) and as such, that Restless can't lean on most any specific abstraction. Lastly, it could really just be a set of decorators created as a separate library that you decorate your methods with.
However, docs on both of these things would be a good thing, so I'll add that to the TODO list.
Not sure if you plan to add support for api version and throttling. However, I'd be really interested in your opinion on the subject and your recommendation for restless-based projects.
The text was updated successfully, but these errors were encountered: