Skip to content

test: remove debug console.log left in SlugField overrides fields test suite#16279

Merged
PatrikKozak merged 1 commit intomainfrom
chore/remove-slug-field-debug-log
Apr 14, 2026
Merged

test: remove debug console.log left in SlugField overrides fields test suite#16279
PatrikKozak merged 1 commit intomainfrom
chore/remove-slug-field-debug-log

Conversation

@PatrikKozak
Copy link
Copy Markdown
Contributor

Overview

Removes a debug console.log left in the SlugField test collection's overrides callback that was introduced in #14824

Key Changes

  • Removed console.log({ field: defaultField.fields[1] }) from the readOnlySlug override
  • Cast defaultField.fields[1] as TextField to fix pre-existing TypeScript errors on that line

@github-actions
Copy link
Copy Markdown
Contributor

📦 esbuild Bundle Analysis for payload

This analysis was generated by esbuild-bundle-analyzer. 🤖
This PR introduced no changes to the esbuild bundle! 🙌

@PatrikKozak PatrikKozak merged commit 22e2466 into main Apr 14, 2026
335 of 337 checks passed
@PatrikKozak PatrikKozak deleted the chore/remove-slug-field-debug-log branch April 14, 2026 21:57
@github-actions
Copy link
Copy Markdown
Contributor

🚀 This is included in version v3.83.0

milamer pushed a commit to milamer/payload that referenced this pull request Apr 20, 2026
…t suite (payloadcms#16279)

# Overview

Removes a debug `console.log` left in the `SlugField` test collection's
`overrides` callback that was introduced in payloadcms#14824

## Key Changes

- Removed `console.log({ field: defaultField.fields[1] })` from the
`readOnlySlug` override
- Cast `defaultField.fields[1]` as `TextField` to fix pre-existing
TypeScript errors on that line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants