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

[validation-gen] Add key and elem validation support to subfield validator #81

Open
aaron-prindle opened this issue Dec 19, 2024 · 0 comments

Comments

@aaron-prindle
Copy link
Collaborator

What would you like to be added?

Current the subfield tag/validator + //subfield(subfield-json-name)=<validator-arg> only supports field validators. It should be extended to support key and elem validators as well

Why is this needed?

This is needed as there are known validations that will go on fields that are slices, maps, arrays, etc. of a PodSpec which is embedded in a # of objects and as such needs to use subfield. This requires extending subfield to support key and element validators

@aaron-prindle aaron-prindle changed the title [validation-gen] Add key and elem support to subfield validator [validation-gen] Add key and elem validation support to subfield validator Dec 19, 2024
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

No branches or pull requests

1 participant