Z
Zodโ€ข5mo ago
fahad19

fahad19 - Hi folks ๐Ÿ‘‹ I am using Zod for lint...

Hi folks ๐Ÿ‘‹ I am using Zod for linting functionality in an open source project of mine: https://featurevisor.com/docs/linting/ one of the use cases I have hit is being able to access the parent/root object when inside .superRefine() of a nested object. I tried reading the docs, and couldn't figure out if it is possible. any guidance highly appreciated โค๏ธ
Solution:
I tackled the problem by doing superRefine() at root: https://github.com/featurevisor/featurevisor/pull/320
GitHub
fix: improve linting variable values by fahad19 ยท Pull Request #320...
Closes #230 What's done Before, linting was not checking if a variable's value is following it's own specific type: https://featurevisor.com/docs/linting/ Now it's d...
Jump to solution
1 Reply
Solution
fahad19
fahad19โ€ข5mo ago
I tackled the problem by doing superRefine() at root: https://github.com/featurevisor/featurevisor/pull/320
GitHub
fix: improve linting variable values by fahad19 ยท Pull Request #320...
Closes #230 What's done Before, linting was not checking if a variable's value is following it's own specific type: https://featurevisor.com/docs/linting/ Now it's d...
Want results from more Discord servers?
Add your server