Path Key not Available in safeParse #696
jdgamble555
started this conversation in
General
Replies: 1 comment 5 replies
-
Can you reproduce the problem in our playground? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create an error message, but there doesn't seem to be any way to tell which
key
or input the problem is coming from, since the path variable is null. Here is theissue
. I am passing an empty input object.I need to tell the user which input is the problem... ?
with this simple schema:
Thanks,
J
Beta Was this translation helpful? Give feedback.
All reactions