Skip to content

docs: fix typo in Collection Config docs (collection → collections)#16183

Merged
AlessioGr merged 1 commit into
payloadcms:mainfrom
webgodo:patch-1
Apr 7, 2026
Merged

docs: fix typo in Collection Config docs (collection → collections)#16183
AlessioGr merged 1 commit into
payloadcms:mainfrom
webgodo:patch-1

Conversation

@webgodo

@webgodo webgodo commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

What?

Fix incorrect property name in documentation for defining a Collection Config.

Why?

The documentation incorrectly referenced collection instead of the correct collections property in the Payload Config. This could mislead users and cause configuration errors.

How?

Updated the documentation to replace collection with collections in the relevant section.

Before

collection: [...]

After

collections: [...]

Fixes # (N/A)

Corrected incorrect property name in documentation. The Payload Config uses `collections`, not `collection`.
@AlessioGr AlessioGr enabled auto-merge (squash) April 7, 2026 19:44
@AlessioGr AlessioGr merged commit ac085cd into payloadcms:main Apr 7, 2026
23 checks passed
@github-actions

github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

🚀 This is included in version v3.82.0

milamer pushed a commit to milamer/payload that referenced this pull request Apr 20, 2026
…ayloadcms#16183)

### What?

Fix incorrect property name in documentation for defining a Collection
Config.

### Why?

The documentation incorrectly referenced `collection` instead of the
correct `collections` property in the Payload Config. This could mislead
users and cause configuration errors.

### How?

Updated the documentation to replace `collection` with `collections` in
the relevant section.

### Before

```ts
collection: [...]
```

### After

```ts
collections: [...]
```

Fixes # (N/A)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants