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

fix:Add Type Safety and Validation for Provider Inputs #2353

Closed
wants to merge 1 commit into from

Conversation

rishisulakhe
Copy link
Contributor

@rishisulakhe rishisulakhe commented Oct 30, 2024

/claim #1327
/closes #1327

Description of PR:

  • Defined Validation Schemas for Inputs
  • Updated Frontend Validation
  • Updated Backend Validation
  • Updated the ProviderAuthConfig interface in /keep-ui/app/providers/providers.tsx to include types for inputs.

Copy link

vercel bot commented Oct 30, 2024

@rishisulakhe is attempting to deploy a commit to the KeepHQ Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Provider Providers related issues UI User interface related issues labels Oct 30, 2024
@rishisulakhe rishisulakhe changed the title Add Type Safety and Validation for Provider Inputs fix:Add Type Safety and Validation for Provider Inputs Oct 30, 2024
Copy link
Member

@talboren talboren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @rishisulakhe, thank you for the contribution.

a few small things:

  1. Can you please make sure you follow PR guidelines?: fix PR name, make sure tests pass and add a video of what’s changed.
  2. Explain why not using zod simply and what’s the motivation

@talboren
Copy link
Member

Closing this for now, @rishisulakhe if this is still relevant please feel free to re-open it. 🙏🏼

@talboren talboren closed this Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Provider Providers related issues size:L This PR changes 100-499 lines, ignoring generated files. UI User interface related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🔨 Enhancement]: better input validation for providers / add types for inputs
2 participants