Data Validation
Samuel Bodin
Software Engineer
We’re excited to introduce a powerful new feature: Data Validation at runtime.
1. Enhanced Integration Quality:
Ensure your integrations run smoothly by validating data at runtime, catching errors before they propagate.
2. Comprehensive Error Logging:
All data validation errors are logged in your Nango dashboard for easy tracking and troubleshooting.
3. Development Feedback:
Data validation errors are reported via the CLI when developing custom integrations, providing immediate feedback for faster debugging.
4. Model-Driven Validation:
Utilizes the models defined in your nango.yaml integration configuration file to validate incoming and outgoing data.
5. JSON Schema & Zod Models:
Nango generates JSON Schema (and optional zod models) for your models, facilitating data validation in your codebase. These models can be leveraged for more sophisticated validation scenarios.
6. Seamless Error Monitoring:
Validation error logging is already enabled for all users. Check the Logs tab in the Nango UI to see if there are any data validation errors affecting your integrations.
Why This Matters:
Ensuring that the data entering and exiting your system is accurate and reliable is foundational to maintaining high-performing integrations. As the saying goes: “garbage in, garbage out.”
Learn More:
For detailed guidance on leveraging data validation, JSON Schema, and zod models, visit our documentation.