TypeScript Berlin Meetup #3 - Emanuel Suriano - Types runtime validations in Typescript

preview_player
Показать описание
Sometimes using types inside our application it's not enough to make sure that it won't break on runtime. Because of that, we see ourselves forced to manually write validation for our entities. In this talk, I want to present a way that you can generate validators for all your types in your application in an automatic way, and how to integrate this into your development workflow.

*Bio:* Emanuel is a Software Engineer part of the UI Architecture team at Omio, based in Berlin. He has been developing applications for 6 years, with a strong focus on React. In his spare time, Emanuel enjoys cooking at home with friends and traveling around the world.

------------------------
Next:
------------------------
📚 Resources:

✅ Learn more about Prisma:

------------------------
💬 Connect with Prisma:

------------------------
Рекомендации по теме
Комментарии
Автор

Why do you think its better to create your AJV validators from TypeScript types and not your TypeScript types (and validators) from an AJV Schema?

danielvalenzuela