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: allow null type for validation message #1224

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

BasKiers
Copy link
Contributor

Summary

Allow null value for validation message

Description

It turns out the message value for validations can be set to null. This PR updates the Ajv schema to reflect this.

Motivation and Context

The Ajv schema is not correct for the possible null value for message

Screenshots (if appropriate):

@BasKiers BasKiers requested a review from a team as a code owner June 28, 2023 13:56
@BasKiers BasKiers merged commit 4ed6736 into master Jul 12, 2023
2 checks passed
@BasKiers BasKiers deleted the fix/validation-message-null-type branch July 12, 2023 11:47
@contentful-automation
Copy link

🎉 This PR is included in version 4.14.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants