Skip to content

Enhance isMoney rule to ignore optional field#52

Open
ad-momo wants to merge 1 commit intovinejs:mainfrom
ad-momo:patch-1
Open

Enhance isMoney rule to ignore optional field#52
ad-momo wants to merge 1 commit intovinejs:mainfrom
ad-momo:patch-1

Conversation

@ad-momo
Copy link
Copy Markdown

@ad-momo ad-momo commented Apr 13, 2026

Added a check for field definition in isMoney rule.

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

We need to add a check for optional field definitions in dataTypeValidator

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Added a check for field definition in isMoney rule.
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.

1 participant