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: Tighten input validation #728

Merged
merged 24 commits into from
Jan 10, 2025
Merged

Conversation

daryllimyt
Copy link
Contributor

@daryllimyt daryllimyt commented Jan 10, 2025

Changes

  • Make 422 unprocessible entity errors return an object with detail field: {"detail": ...}
  • Tighten up input validation across FE zod schemas and API layer pydantic models
  • Replace certain Controller fields with shadcn FormField

Screens

Screenshot 2025-01-11 at 00 05 37

Screenshot 2025-01-11 at 00 02 34

Screenshot 2025-01-11 at 00 02 09

@daryllimyt daryllimyt force-pushed the feat/tighten-input-validation branch from 2296dc0 to 2c15cbf Compare January 10, 2025 16:07
@daryllimyt daryllimyt changed the title Feat/tighten input validation feat: Tighten input validation Jan 10, 2025
@daryllimyt daryllimyt added enhancement New feature or request frontend Improvements or additions to the frontend api Improvements or additions to the backend API labels Jan 10, 2025
@daryllimyt daryllimyt merged commit b4ae816 into main Jan 10, 2025
9 checks passed
@daryllimyt daryllimyt deleted the feat/tighten-input-validation branch January 10, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Improvements or additions to the backend API enhancement New feature or request frontend Improvements or additions to the frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants