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
Saw this while working on my current project. The $node services use fastest-validator, while everything else uses moleculer-zod-validator currently.
The $$$options param should not be showing up here, indicating there's a bug in the validator itself. Was pretty sure I stripped that out of the stuff that I send to the broker...
The text was updated successfully, but these errors were encountered:
Hmm, not sure how to handle this. $$$options does get stripped out at validation time, so if anyone tries filling that out it'll be stripped from the validator output (assuming the default of strip is true) and will have no effect at runtime.
I tried setting $$$options to non-enumerable in ZodParams, but that kinda broke everything, and I'm not entirely sure how to mitigate that right now. Something to think about.
Saw this while working on my current project. The $node services use fastest-validator, while everything else uses moleculer-zod-validator currently.
The
$$$options
param should not be showing up here, indicating there's a bug in the validator itself. Was pretty sure I stripped that out of the stuff that I send to the broker...The text was updated successfully, but these errors were encountered: