You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But publishing the configuration does not create required files for that server. \App\JsonApi\V1\Server does not exist.
Artisan command to create the server fails because the server is already registered:
$ php artisan jsonapi:server v1
Server v1 is already registered in your JSON:API configuration.
Must remove the server registration in config/jsonapi.php before creating the required files with artisan command.
jsonapi:server artisan command does not register the created server in config/jsonapi.php. Registration deleted before running the command must be added again manually after running it.
Steps to reproduce
Create a new laravel project with composer installer
composer create-project laravel/laravel example-app
cd example-app
Install laravel-json-api/laravel (tested with v1.0.0-alpha.1)
Published configuration includes a default server named
v1
:laravel/config/jsonapi.php
Lines 29 to 31 in 7425ef2
But publishing the configuration does not create required files for that server.
\App\JsonApi\V1\Server
does not exist.Artisan command to create the server fails because the server is already registered:
Must remove the server registration in
config/jsonapi.php
before creating the required files with artisan command.jsonapi:server
artisan command does not register the created server inconfig/jsonapi.php
. Registration deleted before running the command must be added again manually after running it.Steps to reproduce
composer create-project laravel/laravel example-app cd example-app
v1.0.0-alpha.1
)php artisan vendor:publish --provider="LaravelJsonApi\Laravel\ServiceProvider"
The text was updated successfully, but these errors were encountered: