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 support for custom error messages for required fields #687

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Rozamo
Copy link

@Rozamo Rozamo commented May 30, 2024

Resolves issue: #615

Changes

  • Add logic to infer instance path for properties which are required and which have custom error message
  • Add tests for the above changes

@Rozamo Rozamo marked this pull request as draft May 30, 2024 11:08
@Rozamo Rozamo marked this pull request as ready for review May 30, 2024 11:31
@Rozamo
Copy link
Author

Rozamo commented Jun 6, 2024

cc @bluebill1049

@TristanPerrinAktisLab
Copy link

@bluebill1049 i have the same issue, if this code is merged when will it be available ?

@Rozamo
Copy link
Author

Rozamo commented Jun 28, 2024

@bluebill1049 Please check this. Need this functionality in my app and I think it will benefit others as well. If there is any issue in the code can you point me in the right direction.

@Rozamo Rozamo changed the title feat: add support for custom error messages in case of required fields feat: add support for custom error messages for required fields Jun 28, 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.

2 participants