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

check: Switch from simple error types with go-multierror to diagnostic-based error handling #5

Closed
bflad opened this issue Dec 16, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@bflad
Copy link
Owner

bflad commented Dec 16, 2019

Currently, the check command is very terminal-based and checks use wrapped errors with https://github.com/hashicorp/go-multierror to gather multiple errors for returning the results. To provide better extensibility in the future, e.g. JSON based error results, the underlying checks should implement their own diagnostic types with severity and message fields.

@bflad bflad added the enhancement New feature or request label Dec 16, 2019
@bflad bflad changed the title Switch checks from go-multierror to diagnostic-based error handling check: Switch from simple error types with go-multierror to diagnostic-based error handling Dec 16, 2019
DanielMSchmidt pushed a commit to DanielMSchmidt/tfproviderdocs that referenced this issue Jul 14, 2023
@bflad
Copy link
Owner Author

bflad commented May 19, 2024

This project will be archived in preference of the revamped validate command in github.com/hashicorp/terraform-plugin-docs implementing much of the basic validation logic from this project. Feature requests should be submitted over there at this point.

@bflad bflad closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant