api-platform / api-platform/core
Resource configuration is in wrong case
Open
- Dominant language
- PHP
- Stars
- 2.6k
- Forks
- 980
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 48
Description
## Description
Using YAML or XML, the global configuration is in the following case:
```yaml
api_platform:
defaults:
pagination_client_enabled: true
```
But any resource configuration is in the following case:
```yaml
resources:
App\Entity\Book:
paginationClientEnabled: true
```
```xml
```
## Proposition
Following Symfony Best Practices, the configuration should be as following:
```yaml
resources:
App\Entity\Book:
pagination_client_enabled: true
```
```xml
```
Contributor guide
Assessment
This issue has not been assessed yet.