tyson icon indicating copy to clipboard operation
tyson copied to clipboard

Trying to define a schema using zod

Open ymolists opened this issue 1 year ago • 1 comments

Hi Team,

Firstly, thank you for your support and assistance. I'm currently exploring the feasibility of invoking TypeScript from Go using purely Go code. The idea is to utilize TypeScript as a configuration language, which would provide us with strong typing benefits.

To achieve this, my intention is to define schemas using Zod, a schema validation library in TypeScript that helps ensure data integrity and structure.

Could you please let me know if this integration is possible with the current version of your library? If it is feasible, I'd greatly appreciate an example demonstrating how to implement such functionality. This would help clarify how we can effectively bridge Go and TypeScript for our configuration needs.

Thank you in advance for your guidance!

Best regards.

ymolists avatar Dec 23 '24 12:12 ymolists

Hello Team.

I would really appreciate if someone could provide guidance. I am a newb in ts/js land and cant figure how i would combine zod with this library and call it from go. Is that at all possible ?

Best Regards

ymolists avatar Jan 09 '25 04:01 ymolists