We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Config:
openapi: "3.0.0" info: version: 1.0.0 title: Issue14Test testNestedModuleInXRoute \#14 paths: '/': get: x-route: fruit/mango/alphonso/list # action ID `list` is mandatory for fractal standalone action generation operationId: listTasks responses: '200': $ref: '#/components/responses/Tasks'
<?php return [ 'openApiPath' => '@specs/issue_fix/14_nested_module_in_x_route/index.yml', 'generateUrls' => true, 'generateModels' => true, 'useJsonApi' => true, 'excludeModels' => [ 'Error', ], 'generateControllers' => true, 'generateMigrations' => false, 'generateModelFaker' => false, ];
File: modules/fruit/modules/mango/controllers/base/AlphonsoController.php
+ 'list' => [\n + 'class' => \insolita\fractal\actions\ListAction::class,\n + 'checkAccess' => [$this, 'checkAccess'],\n + 'transformer' => \app\transformers\TaskTransformer::class,\n + 'modelClass' => \app\models\Task::class,\n + 'resourceKey' => 'tasks',\n + 'dataFilter' => null,\n + 'prepareDataProvider' => null\n + ],\n
+ abstract public function actionList();\n
Detected this issue while implementing #14. So tests stubs can be used from there
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
SOHELAHMED7
Successfully merging a pull request may close this issue.
Config:
Expected
File: modules/fruit/modules/mango/controllers/base/AlphonsoController.php
Actual
Detected this issue while implementing #14. So tests stubs can be used from there
The text was updated successfully, but these errors were encountered: