hashicorp / hashicorp/terraform-plugin-framework-validators

Proposal: `MustBeUppercase` and `MustBeLowercase` string validators

Open
#349 1 comment 1 reaction 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.