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: corrected the tranform validation logic #73

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Conversation

LukeHagar
Copy link
Member

I missed the actual Validation logic for the transforms in the first PR

This pull request to workflow/source.go includes changes to enhance the validation logic for transformations and streamline the codebase. The most important changes include the addition of a new list of transformation types and modifications to the validation method to use this list.

Enhancements to validation logic:

  • Added a transformList variable containing the transformation types: "removeUnused", "filterOperations", "cleanup", "format", and "normalize".
  • Modified the Validate method in the Transformation struct to include checks for Format and Normalize fields and updated the error message to use the new transformList variable.

@LukeHagar LukeHagar merged commit 74b886b into main Dec 20, 2024
1 check passed
@LukeHagar LukeHagar deleted the fix-transform-validate branch December 20, 2024 22:28
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