Closed tobyzerner closed 1 year ago
@franzliedke @smtlab any thoughts on this?
This is good, but the current closure-based API is flexible and can be hooked into any existing MVC controller, Service or framework. Class-based API would be a good dedicated implementation specific to this package.
I like it, but also think it should be optional.
TODO: look at https://www.django-rest-framework.org and https://django-ninja.rest-framework.com/ for inspiration?
New class-based API released in v1.0.0-alpha.1! Sorry, I dumped the old API because the new one is vastly superior :)
It could look like:
Please comment below if you have any thoughts about this vs. the current API.