api-platform / api-platform/core

Resource configuration is in wrong case

Open
#5,321 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.