Hi! I have a question about the env-required validation rule.
It works fine when the variable is not present in the .env file. But if it is present and empty - the validation error is not triggered. Is this the expected behavior? In my opinion, a required variable cannot be empty.
Or maybe this is another way to ensure such a check?
Hi! I have a question about the
env-required
validation rule.It works fine when the variable is not present in the
.env
file. But if it is present and empty - the validation error is not triggered. Is this the expected behavior? In my opinion, a required variable cannot be empty.Or maybe this is another way to ensure such a check?