api-platform / api-platform/core

Resource configuration is in wrong case

未關閉
#5,321 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。