dov-yih opened this issue 6 years ago · 1 comments
like:
@prefix('/admin') class Post extends API { } // => /admin/posts
Or
class Post extends API { static prefix = '/addmin' } // => /admin/posts
@prefix mean it will affect globally. static prefix = '/admin' means it is class-level.
@prefix
static prefix = '/admin'