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

decoder: Decouple validators & make them pluggable via PathContext #318

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Sep 19, 2023

This decoupling is aiming mainly to unblock support for multiple language IDs (schemas) with different needs for validation as shown in hashicorp/terraform-ls#1413

It's expected to be useful outside of Terraform LS though in the future.

@radeksimko radeksimko added the enhancement New feature or request label Sep 19, 2023
@radeksimko radeksimko force-pushed the f-decouple-validators branch 2 times, most recently from 4c23702 to bd10827 Compare September 19, 2023 08:02
@radeksimko radeksimko marked this pull request as ready for review September 19, 2023 09:00
@radeksimko radeksimko requested a review from a team as a code owner September 19, 2023 09:00
decoder/validate.go Outdated Show resolved Hide resolved
Copy link
Member

@dbanck dbanck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@radeksimko radeksimko merged commit aa9b38d into main Sep 19, 2023
5 checks passed
@radeksimko radeksimko deleted the f-decouple-validators branch September 19, 2023 10:14
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

Successfully merging this pull request may close these issues.

2 participants