mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
bug #126 [API Platform] Update the API Platform config to use the new mapping paths (meyerbaptiste)
This PR was merged into the master branch.
Discussion
----------
[API Platform] Update the API Platform config to use the new mapping paths
| Q | A
| ------------- | ---
| License | MIT
We recently changed the way to configure resources' paths in API Platform 2.1.0 beta 3, see https://github.com/api-platform/core/pull/1271.
Commits
-------
8a76aa5 Update the API Platform config to use the new mapping paths
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
api_platform:
|
||||
loader_paths:
|
||||
annotation: ['%kernel.project_dir%/src/Entity']
|
||||
mapping:
|
||||
paths: ['%kernel.project_dir%/src/Entity']
|
||||
|
||||
Reference in New Issue
Block a user