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

feat: Allow to validate sent packets using zod #306

Merged
merged 5 commits into from
Nov 12, 2024

Conversation

tshashkova
Copy link
Contributor

Description

When validateData property is set as true and sent packet has a wrong format (based on ts files generated from proto), you will see a warn on browser console with details what's wrong

Related Ticket (for Inworld.ai developers)

https://inworldai.atlassian.net/browse/INTG-2151

Screenshots (if appropriate)

Checklist before requesting a review

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation

@tshashkova tshashkova force-pushed the INTG-2151-web-sdk-use-zod-validation branch from 57f263f to 93d6aaa Compare October 31, 2024 21:28
@tshashkova tshashkova force-pushed the INTG-2151-web-sdk-use-zod-validation branch from 93d6aaa to 3b2590c Compare November 1, 2024 19:32
@tshashkova tshashkova requested a review from Disfractal November 8, 2024 18:53
@tshashkova tshashkova merged commit a5fce2f into main Nov 12, 2024
3 checks passed
@tshashkova tshashkova deleted the INTG-2151-web-sdk-use-zod-validation branch November 12, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants