Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cannot pass function to client error when defining server-only props in custom field components #9898

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

AlessioGr
Copy link
Member

@AlessioGr AlessioGr commented Dec 11, 2024

Fixes #9895

We were still including field custom components in the ClientConfig, which will throw an error if actual server-only properties were passed to PayloadComponent.serverProps. This PR removes them from the ClientConfig

@AlessioGr AlessioGr enabled auto-merge (squash) December 11, 2024 17:37
@AlessioGr AlessioGr merged commit 91e8acc into main Dec 11, 2024
63 checks passed
@AlessioGr AlessioGr deleted the fix/server-only-field-props branch December 11, 2024 18:00
Copy link
Contributor

🚀 This is included in version v3.6.0

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.

FieldServerComponent cannot be passed functions in serverProps
2 participants