Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to define a schema using zod #9

Open
ymolists opened this issue Dec 23, 2024 · 1 comment
Open

Trying to define a schema using zod #9

ymolists opened this issue Dec 23, 2024 · 1 comment

Comments

@ymolists
Copy link

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
Copy link
Author

ymolists commented Jan 9, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant