hashicorp / hashicorp/terraform-plugin-framework-validators
Proposal: `MustBeUppercase` and `MustBeLowercase` string validators
- Dominant language
- Go
- Stars
- 28
- Forks
- 13
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 1
Description
### Terraform CLI and Framework Versions
Current
### Use Cases or Problem Statement
Many providers would benefit from standard `MustBeUppercase` and `MustBeLowercase` string validators.
### Proposal
Add `MustBeUppercase` and `MustBeLowercase` string validators. Optionally, the provider could provide a custom message
### Additional Information
_No response_
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Research direction
No files or tests are named in the issue. Start by locating the existing string validators and their tests, then compare their conventions with the proposed uppercase and lowercase validators. Done means both validators are available with the requested validation behavior and the custom-message option is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100