Here's what I've found so far:
- Adding a custom decorator won't work for OPTIONS-requests as the routes are tried before the decorators come into play.
- Overriding the
Main#defaultHandler seems to be the way forward but this feels very "low-level" and introduces some concern-splitting
I'm willing to do some legwork here but I'd like to know if you have any ideas on how this can best be solved.
Here's what I've found so far:
Main#defaultHandlerseems to be the way forward but this feels very "low-level" and introduces some concern-splittingI'm willing to do some legwork here but I'd like to know if you have any ideas on how this can best be solved.