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

datasource/schema: Initial package #546

Merged
merged 3 commits into from Nov 28, 2022
Merged

Commits on Nov 22, 2022

  1. datasource/schema: Initial package

    Reference: #132
    Reference: #326
    Reference: #437
    Reference: #491
    Reference: #508
    Reference: #532
    
    This change introduces a new `datasource/schema` package, which contains schema interfaces and types relevant to data sources, such as omitting plan modifiers and schema versioning. This new schema implementation also provides strongly typed attributes, nested attributes, and blocks with customizable types. Nested attributes and blocks are exposed with a separate nested object for customization and validation.
    
    The implementation leans heavily on the design choice of the framework being responsible for preventing provider developer runtime errors. The tailored fields no longer expose functionality that is not available for data sources. The framework design will also raise compiler-time errors for errant typing of validators.
    bflad committed Nov 22, 2022
    Copy the full SHA
    e3b212d View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #546

    bflad committed Nov 22, 2022
    Copy the full SHA
    c409175 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    5ca8365 View commit details
    Browse the repository at this point in the history