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

Migrate CreateDelegateDto to zod #1262

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

iamacook
Copy link
Member

@iamacook iamacook commented Mar 6, 2024

Summary

This migrates the validation of ContCreateDelegateDtoract to zod.

Changes

  • Removes CreateDelegateDtoValidationPipe and associated schema
  • Adds CreateDelegateDtoValidationPipe and infers type from it
  • Propagate required changes in codebase
  • Update associated tests

@iamacook iamacook self-assigned this Mar 6, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8172989727

Details

  • 10 of 10 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 93.195%

Totals Coverage Status
Change from base Build 8172013728: 0.06%
Covered Lines: 6438
Relevant Lines: 6667

💛 - Coveralls

@iamacook iamacook marked this pull request as ready for review March 6, 2024 13:54
@iamacook iamacook requested a review from a team as a code owner March 6, 2024 13:54
@iamacook iamacook merged commit 23f8557 into main Mar 6, 2024
16 checks passed
@iamacook iamacook deleted the zod-create-delegate-dto-validation branch March 6, 2024 16:35
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