Skip to content
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

Merged
merged 13 commits into from
Nov 11, 2019
Merged

Add service proivder to module builder #35

merged 13 commits into from
Nov 11, 2019

Conversation

AmrAhmedFekry
Copy link
Collaborator

Make module more stand-alone form project, add
Add some features to generated postman file

@@ -12,6 +13,59 @@ class UsersController extends AdminApiController
*/
protected $controllerInfo = [
'repository' => 'users',
'listOptions' => [],
'listOptions' => [
'select' => ['id','name','user_group_id','email'],
Copy link
Owner

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.

Copy link
Collaborator Author

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'],
Copy link
Owner

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' => [
Copy link
Owner

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.

@hassanzohdy hassanzohdy merged commit 12dccee into hassanzohdy:master Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants