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

all: Add float32 type, attribute, and function support #1014

Merged
merged 23 commits into from
Jul 1, 2024
Merged

Conversation

SBGoods
Copy link
Contributor

@SBGoods SBGoods commented Jun 26, 2024

Relates: #1010
This PR introduces Float32 type support to terraform-plugin-framework with the addition of:

  • Float32 type and value implementations: types.Float32Type and types.Float32
  • Custom type interfaces: basetypes.Float32Typable, basetypes.Float32Valuable and basetypes.Float32ValuableWithSemanticEquals
  • Attribute support: schema.Float32Attribute for resource, data source, and provider schemas
  • Function support: function.Float32Parameter and function.Float32Return
  • Float32 plan modifier interfaces and implementations (requires replace, use state if unknown, etc.)
  • Float32 default interfaces and static implementation
  • Float32 validation interface: validator.Float32

@SBGoods SBGoods requested a review from a team as a code owner June 26, 2024 16:29
@SBGoods SBGoods added this to the v1.10.0 milestone Jun 26, 2024
@SBGoods SBGoods added the enhancement New feature or request label Jun 26, 2024
Copy link
Member

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Everything lgtm, just had two notes to consider but nothing blocking 🚀

types/basetypes/float32_type.go Outdated Show resolved Hide resolved
@SBGoods SBGoods merged commit 758afb7 into main Jul 1, 2024
31 checks passed
@SBGoods SBGoods deleted the SBGoods/float32 branch July 1, 2024 16:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants