marilari88 / zod-playground

Play with Zod schema validation
https://zod-playground.vercel.app
MIT License
31 stars 1 forks source link

Feedback: Not obvious how to show the parsed value #35

Closed IchordeDionysos closed 3 weeks ago

IchordeDionysos commented 3 months ago

Sometimes it's important to remove unexpected fields or to check what the values are after transformations.

To ensure the correct behaviour, being able to see the parsed value would be amazing.

IchordeDionysos commented 3 months ago

Okay nevermind, I found how to do it :D

image

Then maybe take this as a feedback to make it more obvious how to get the parsed data? 🤔

marilari88 commented 3 months ago

Hey @IchordeDionysos, thank you for your feedback. You can see the parsed data also in the right panel, which you can activate with that button.

image

However, I agree with you. We should find a more intuitive way to show the parsed data.

IchordeDionysos commented 3 months ago

Ahh got it! That's a nice panel.

Maybe we could make the panel by default expanded or change the icon maybe something like: 1000019956

Given there are two columns and the icon indicates a two-column icon I thought it was to collapse the value column 🤔