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

Update built-in fields to new validate hook syntax #9166

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

acburdine
Copy link
Contributor

closes #9165

  • this updates the built-in fields using validateInput to use the new unified validation syntax, and handles merging with the old syntax to ensure user-land old syntax still works

closes keystonejs#9165
- this updates the built-in fields using validateInput to use the new unified validation syntax, and handles merging with the old syntax to ensure user-land old syntax still works
Copy link

codesandbox-ci bot commented Jun 5, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ea10e02:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens
Copy link
Member

dcousens commented Jun 5, 2024

Amazing @acburdine, this is tedious and really appreciated work! 💚
I'll review, merge + release this as soon as I can.

@dcousens dcousens self-requested a review June 12, 2024 23:35
@dcousens dcousens self-assigned this Jun 12, 2024
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.

Unable to use new validate.{create|update|delete} field-level hooks with most built-in fields
2 participants