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

🌱 Populate TypeMeta in vres.Build #371

Closed
TylerGillson opened this issue Aug 6, 2024 · 0 comments · Fixed by #379
Closed

🌱 Populate TypeMeta in vres.Build #371

TylerGillson opened this issue Aug 6, 2024 · 0 comments · Fixed by #379
Assignees
Labels
enhancement Enhancement to an existing feature

Comments

@TylerGillson
Copy link
Member

TylerGillson commented Aug 6, 2024

Summary

Adding TypeMeta will reduce boilerplate in validatorctl. It's required when dealing with unstructured objects.

Acceptance criteria

  • vres.Build is updated to assign TypeMeta dynamically. This may require updates to the ValidationRule interface.
  • executePlugins function in validatorctl has been simplified accordingly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant