api-platform / api-platform/core

Resource configuration is in wrong case

オープン
#5,321 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
2.6k
フォーク
980
平均マージ
2日 5時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。