How can I make issues path more readable? #248
-
issues: [
{
reason: 'type',
validation: 'number',
origin: 'value',
message: 'Invalid type',
input: 'Mega',
issues: undefined,
abortEarly: undefined,
abortPipeEarly: undefined,
skipPipe: undefined,
path: [Array]
},
{
reason: 'type',
validation: 'number',
origin: 'value',
message: 'Invalid type',
input: 'Mega',
issues: undefined,
abortEarly: undefined,
abortPipeEarly: undefined,
skipPipe: undefined,
path: [Array]
}
] Is it possible to adjust the default output, so I do not have to format and have duplicate logs? |
Beta Was this translation helpful? Give feedback.
Answered by
fabian-hiller
Nov 9, 2023
Replies: 1 comment 5 replies
-
Can you share your code with me? Seems to be a bug. There should not be duplicate issues. And you can format the |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
mapringg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you share your code with me? Seems to be a bug. There should not be duplicate issues. And you can format the
path
withflatten
or with your own logic.