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

types: Migrate type implementations into basetypes subpackage #567

Merged
merged 3 commits into from Dec 12, 2022

Commits on Nov 30, 2022

  1. types: Migrate type implementations into basetypes subpackage

    Reference: #91
    
    Aliasing and function shadowing in the original `types` package should prevent most provider developer changes. The main exception is the newer type-specific `Typable` and `Valuable` interfaces were moved without a type alias. This should help developers find the necessary interfaces for custom types next to the base type implementations.
    
    The underlying implementation of the primitive types (`BoolType`, `Float64Type`, `Int64Type`, `NumberType`, and `StringType`) are now fully exported types instead of the unexported `primitive` type which was difficult to extend.
    
    The underlying value type creation functions were prefixed with New and the value types themselves were renamed to include Value at the end. This should prevent rough edges with the `String` value type since it conflicted with the `String()` method and could not be directly embedded easily.
    bflad committed Nov 30, 2022
    Copy the full SHA
    decb730 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #567

    bflad committed Nov 30, 2022
    Copy the full SHA
    f1e1056 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. Copy the full SHA
    78f2e9b View commit details
    Browse the repository at this point in the history