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

Add CustomRegex validation #939

Merged
merged 6 commits into from Dec 2, 2022
Merged

Conversation

mcastorina
Copy link
Collaborator

No description provided.

@mcastorina mcastorina requested a review from a team as a code owner November 22, 2022 03:32
@CLAassistant
Copy link

CLAassistant commented Nov 22, 2022

CLA assistant check
All committers have signed the CLA.

variables map[string]int
}

func NewRegexVarString(original string) RegexVarString {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: At some point we might want these to error to ensure there isn't any unexpected behavior, but that addition definitely doesn't need to be a part of this PR, and this is great.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. For now we won't be using these function with the focus being on webhooks, but if/when we do implement templates we'll want to be clear with our errors and warnings.

@mcastorina mcastorina merged commit 2a2bcd9 into main Dec 2, 2022
@mcastorina mcastorina deleted the thog-804-custom-regex-validation branch December 2, 2022 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants