-
Notifications
You must be signed in to change notification settings - Fork 12
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
Adding Set validation for SizeAtLeast, SizeAtMost and SizeBetween #40
Conversation
Following discussion with @detro we could consolidate the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than missing Go documentation for provider developers and changelog entry, looks good to me 🚀
} | ||
} | ||
|
||
func SizeAtLeast(min int) tfsdk.AttributeValidator { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go documentation 😉
} | ||
} | ||
|
||
func SizeAtMost(max int) tfsdk.AttributeValidator { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go documentation 😉
} | ||
} | ||
|
||
func SizeBetween(min, max int) tfsdk.AttributeValidator { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go documentation 😉
77c0a76
to
2e2bc0c
Compare
2013d59
to
d106fc2
Compare
2e2bc0c
to
375b34d
Compare
375b34d
to
e71aeef
Compare
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Closes: #5