hashicorp / hashicorp/terraform-plugin-framework-timeouts

Consider Using timetypes.GoDuration Type

Open
#132 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
11
Forks
4
Avg merge
3m
Merged PRs (30d)
1

Description

### Terraform CLI and Framework Versions

N/A

### Use Cases or Problem Statement

terraform-plugin-framework-timetypes v0.4.0 will include new `timetypes.GoDuration`, which can remove the custom string value handling code (e.g. custom string validator, parsing logic, etc.) in this Go module.

### Proposal

Consider switching the internal implementation details from custom code to the shared `timetypes.GoDuration` type and removing the extraneous string value handling code.

### Additional Information

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.