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

feat(stringvalidator): support validating time durations #214

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

NikolaLohinski
Copy link

@NikolaLohinski NikolaLohinski commented May 14, 2024

Import logic from https://github.com/hashicorp/terraform-plugin-framework-timeouts/blob/main/internal/validators/timeduration.go which can not be imported and used elswhere because it is an internal package.

I also changed the name from TimeDuration to just Duration as there no ambiguity with the shorter name.

@NikolaLohinski NikolaLohinski requested a review from a team as a code owner May 14, 2024 19:22
Copy link

hashicorp-cla-app bot commented May 14, 2024

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.

None yet

1 participant