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

feat: add new option to disable JOI validation #8067

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

JessChowdhury
Copy link
Member

@JessChowdhury JessChowdhury commented Sep 4, 2024

Description

Adds new option joiValidation: boolean to the payload config per client request.

joiValidation defaults to true, when set to false it will bypass the JOI validation for all collections, globals, fields etc.

NOTE: This change is not required for v3.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • Existing test suite passes locally with my changes
  • I have made corresponding changes to the documentation

@denolfe denolfe merged commit 28a0650 into main Sep 12, 2024
35 checks passed
@denolfe denolfe deleted the feat/disable-joi-validation branch September 12, 2024 12:59
Copy link

🚀 This is included in version v2.29.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.

2 participants