Skip to content

Conversation

matt-potter
Copy link

Schema validation fails on RequiredWith even when a DefaultFunc is specified. Added a check to return nil if a defaultfunc is provided. The correctness of the defaultfunc is checked as a first step in the main validate func, so I believe just checking for presence here is sufficient?

Related issues here

@matt-potter matt-potter requested a review from a team as a code owner February 20, 2023 12:16
@hashicorp-cla
Copy link

hashicorp-cla commented Feb 20, 2023

CLA assistant check
All committers have signed the CLA.

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