Implement Zod validation into all client forms and server API routes #23

Open
opened 2025-11-10 13:59:41 -06:00 by Ajdj100 · 0 comments
Member

Currently the application system uses Zod and Vee Validate to create a very robust data validation system based on a predefined schema. This validation can be bypassed by calling the API directly because the validation is currently exclusive to the client.

The goal of this ticket is to review the entire application and ensure that all create/update forms (client) and resources (server) use this strict validation with defined schemas.

This should also move validation schemas to the /shared library to ensure consistency between the client and server.

Currently the application system uses Zod and Vee Validate to create a very robust data validation system based on a predefined schema. This validation can be bypassed by calling the API directly because the validation is currently exclusive to the client. The goal of this ticket is to review the entire application and ensure that all create/update forms (client) and resources (server) use this strict validation with defined schemas. This should also move validation schemas to the /shared library to ensure consistency between the client and server.
Ajdj100 added the Kind/EnhancementKind/Security labels 2025-11-10 13:59:41 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 17th-Ranger-Battalion-ORG/milsim-site-v4#23