-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add service proivder to module builder #35
Conversation
@@ -12,6 +13,59 @@ class UsersController extends AdminApiController | |||
*/ | |||
protected $controllerInfo = [ | |||
'repository' => 'users', | |||
'listOptions' => [], | |||
'listOptions' => [ | |||
'select' => ['id','name','user_group_id','email'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set it empty to allow the developer to determine what to select by him/herself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it will be good to fill it as default ?
@@ -12,6 +13,59 @@ class UsersController extends AdminApiController | |||
*/ | |||
protected $controllerInfo = [ | |||
'repository' => 'users', | |||
'listOptions' => [], | |||
'listOptions' => [ | |||
'select' => ['id','name','user_group_id','email'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set it empty to allow the developer to determine what to select by him/herself.
'paginate' => null, // if set null, it will be automated based on repository configuration option | ||
], | ||
'rules' => [ | ||
'all' => [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set it empty to allow the developer to determine what to validate by him/herself.
Make module more stand-alone form project, add
Add some features to generated postman file