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

refactor: remove commodo #4436

Merged
merged 13 commits into from
Dec 16, 2024
Merged

refactor: remove commodo #4436

merged 13 commits into from
Dec 16, 2024

Conversation

brunozoric
Copy link
Contributor

@brunozoric brunozoric commented Dec 10, 2024

Changes

This PR replaces commodo validation with Zod in all packages we used commodo.

How Has This Been Tested?

Jest, Cypress and team testing effort.

Packages changed

  • api-apw
  • api-file-manager
  • api-form-builder
  • api-page-builder-import-export
  • api-security

TODO

Create a simple method to merge validation result data with original data. Not a deep merge.
Basically, check for value in validation being undefined and then skip assigning it.

@brunozoric brunozoric requested review from Pavel910 and adrians5j and removed request for Pavel910 December 10, 2024 09:43
@brunozoric brunozoric self-assigned this Dec 10, 2024
@brunozoric brunozoric added this to the 5.42.0 milestone Dec 10, 2024
@brunozoric brunozoric requested a review from Pavel910 December 10, 2024 09:43
@brunozoric brunozoric marked this pull request as ready for review December 10, 2024 12:25
@brunozoric brunozoric force-pushed the bruno/refactor/remove-commodo branch from d14e510 to d32914d Compare December 16, 2024 12:12
@brunozoric brunozoric merged commit 4dddcea into next Dec 16, 2024
24 checks passed
@brunozoric brunozoric deleted the bruno/refactor/remove-commodo branch January 14, 2025 14:43
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.

2 participants