api-platform / api-platform/core
Resource configuration is in wrong case
未關閉
- 主要語言
- PHP
- 星號
- 2.6k
- 分支
- 980
- 平均合併
- 2 天 5 小時
- 30 天內合併 PR
- 48
描述
## 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
```
貢獻指南
評估
這個 Issue 還沒有評估資料。