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: Switch Config, Plan, and State type Schema fields to interface #544

Merged
merged 2 commits into from Nov 17, 2022

Commits on Nov 17, 2022

  1. tfsdk: Switch Config, Plan, and State type Schema fields to interface

    Reference: #132
    
    As part of upcoming effort to split schema functionality into the datasource, provider, and resource packages, there are some internal implementation details which need to be sorted beforehand. Throughout the 0.x versions, schema functionality has been migrated from the `tfsdk` package into the `internal/fwschema` package, however the exported `Config`, `Plan`, and `State` type `Schema` fields remained hardcoded to the `tfsdk.Schema` type. This change migrates the field type to the `fwschema.Schema` interface, so other framework schema implementations can be introduced.
    bflad committed Nov 17, 2022
    Copy the full SHA
    ee71bd8 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #544

    bflad committed Nov 17, 2022
    Copy the full SHA
    1582fbc View commit details
    Browse the repository at this point in the history