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

tfsdk: Additional preparations for multiple schema implementations #440

Merged
merged 3 commits into from Aug 8, 2022

Commits on Aug 8, 2022

  1. tfsdk: Additional preparations for multiple schema implementations

    Reference: #365
    
    This is a followup to the initial schema logic migration that tries to further prepare the Go module for multiple schema implementations.
    
    - Removes unexported schema-based functions/methods from the `tfsdk` package (`pathMatches` will be handled as part of schema data internalization)
    - Removes `tftypes.Type` handling from schemas as `(attr.Type).TerraformType()` already does this
    - Tries to standardize on `Type()` for fetching framework type (`attr.Type`) information from schema types (`Attribute` will get fixed once `tfsdk.Attribute` is removed)
    - Tries to standardize `Schema` method signatures for framework types/diagnostics and terraform-plugin-go types/errors
    - Prepares `NestedAttributes` implementations for unit testing across multiple attribute implementations
    bflad committed Aug 8, 2022
    Copy the full SHA
    4018c22 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #440

    bflad committed Aug 8, 2022
    Copy the full SHA
    6684ade View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b246c2f View commit details
    Browse the repository at this point in the history