-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tfsdk: Initial support for Data Source, Provider, and Resource valida…
…tion (#75) Reference: #17 Reference: #65 - Adds `AttributeValidator` interface type and `Validators` field to `Attributes` type. - Adds `DataSourceConfigValidator`, `DataSourceWithConfigValidators`, and `DataSourceWithValidateConfig` interface types - Adds `ProviderConfigValidator`, `ProviderWithConfigValidators`, and `ProviderWithValidateConfig` interface types - Adds `ResourceConfigValidator`, `ResourceWithConfigValidators`, and `ResourceWithValidateConfig` interface types Response diagnostics are passed through all functionality to allow overriding previous diagnostics.
- Loading branch information
Showing
22 changed files
with
2,713 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:feature | ||
tfsdk: Attributes, Data Sources, Providers, and Resources now support configuration validation | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.