You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System (please complete the following information):
OS: linux
GO Version: 1.23.2
Pkg Version: 1.5.4
Describe the bug
I'm trying to use the Gookit Validate library to validate input data with required field rules, but I'm encountering an issue: when running the test that validates the "name", "email", and "phone" fields as required, the validation returns errors randomly. In some test runs, the error is returned for the "name" field, in others for the "email" field, and in others for the "phone" field. Below is the test code I'm using:
The expected behavior is that the validator should return errors for all the required fields that are missing ("name", "email", and "phone"). That is, the test should pass by checking that errors are returned for all the required fields.
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
System (please complete the following information):
Describe the bug
I'm trying to use the Gookit Validate library to validate input data with required field rules, but I'm encountering an issue: when running the test that validates the "name", "email", and "phone" fields as required, the validation returns errors randomly. In some test runs, the error is returned for the "name" field, in others for the "email" field, and in others for the "phone" field. Below is the test code I'm using:
To Reproduce
Expected behavior
The expected behavior is that the validator should return errors for all the required fields that are missing ("name", "email", and "phone"). That is, the test should pass by checking that errors are returned for all the required fields.
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: