fetchr
fetchr copied to clipboard
Internal middleware?
Are there any plans for internal fetchr middleware?
Use cases:
- Unified error logging for all resources and methods
- Access control: Allow update&create methods only for admin user, but allow read method for everybody
Now these have to be manually implemented for each resource or the services must be created using a custom service creator which wraps the methods functions.
@epeli I think this is a great idea. I'm going to look into how we can do this in an extensible way and report back here.