-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Invalid type error while trying to parse process.env object #587
Comments
Cause: Last check from object doesn't pass. |
I made the check stricter to only match plain objects. I don't know why
|
I also have no idea and it'll be strange if it doesn't pass. Out of interest quick test:
|
If others encounter the same problem, I would like to hear their opinions and whether the workaround is sufficient. |
From #602. Happy to hear your feedback.
|
This is fixed in v0.31.0-rc.6 |
Perfect, thank you! I think the fix is good until a valid non-false object assumption is found 👍 |
Code:
Result:
looseObject
andstrictObject
valibot - 0.31.0-rc.0
node - 20.10.0
The text was updated successfully, but these errors were encountered: