-
Notifications
You must be signed in to change notification settings - Fork 33
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
tftypes: Enhance Type Comparisons Functionality #94
Commits on Aug 5, 2021
-
Start refactoring type comparisons.
Update our Type interface to include UsableAs and Equal explicitly. Add placeholders for UsableAs and Equal on all types, so tests can run. Update String, Number, Bool, and DynamicPseudoType to have UsableAs implementations, and tests for those implementations. DynamicPseudoType will panic when UsableAs is called on it, because DynamicPseudoType is a type constraint, it should never be associated with a Value. This work will allow us to resolve #83.
Configuration menu - View commit details
-
Copy full SHA for 18e2a0e - Browse repository at this point
Copy the full SHA 18e2a0eView commit details
Commits on Aug 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ad050d9 - Browse repository at this point
Copy the full SHA ad050d9View commit details -
tftypes: Refactor List, Map, Object, primitive, Set, and Tuple equals…
…() into Equal() and Is() The interface now accounts for the differing semantics of Equal() and Is(), which means the dual purpose equals() method is extraneous.
Configuration menu - View commit details
-
Copy full SHA for bddb622 - Browse repository at this point
Copy the full SHA bddb622View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86d9cd4 - Browse repository at this point
Copy the full SHA 86d9cd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1b23b4 - Browse repository at this point
Copy the full SHA c1b23b4View commit details -
tftypes: Ensure (primitive).Is() does full equality checking
Prevent issues with DynamicPsuedoType handling.
Configuration menu - View commit details
-
Copy full SHA for ddb92f7 - Browse repository at this point
Copy the full SHA ddb92f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73aa5a9 - Browse repository at this point
Copy the full SHA 73aa5a9View commit details -
tftypes: Use (Type).Equal() instead of Is() in (Value).Equal()
More accurate behavior after Is() refactoring and prevents panics.
Configuration menu - View commit details
-
Copy full SHA for 840d09b - Browse repository at this point
Copy the full SHA 840d09bView commit details -
tftypes: Remove special casing for zero length Tuple ElementTypes and…
… Object AttributeTypes
Configuration menu - View commit details
-
Copy full SHA for 2539862 - Browse repository at this point
Copy the full SHA 2539862View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41d4335 - Browse repository at this point
Copy the full SHA 41d4335View commit details
Commits on Aug 9, 2021
-
tftypes: Use previous error messaging including English
can't
contr……actions so testing does not require adjustment
Configuration menu - View commit details
-
Copy full SHA for 5570b22 - Browse repository at this point
Copy the full SHA 5570b22View commit details -
tftypes: Remove panic in (primitive).UsableAs() for DynamicPseudoType
Leave descriptive comment for future travelers.
Configuration menu - View commit details
-
Copy full SHA for d1e9933 - Browse repository at this point
Copy the full SHA d1e9933View commit details -
tftypes: Additional type constraint adjustments for split out Equal()…
… and UsableAs() functionality
Configuration menu - View commit details
-
Copy full SHA for a531129 - Browse repository at this point
Copy the full SHA a531129View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54b4d7a - Browse repository at this point
Copy the full SHA 54b4d7aView commit details -
.changelog: Remove breaking change about Type interface methods as it…
… cannot be implemented outside the tftypes package
Configuration menu - View commit details
-
Copy full SHA for 1f71fc6 - Browse repository at this point
Copy the full SHA 1f71fc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2b390a - Browse repository at this point
Copy the full SHA c2b390aView commit details -
tftypes: Allow unknown DynamicPseudoType, but ensure NewValue() only …
…accepts matching Type and Value
Configuration menu - View commit details
-
Copy full SHA for d87b2cd - Browse repository at this point
Copy the full SHA d87b2cdView commit details -
tftypes: Fixed elements of
Tuple
andMap
and attributes of `Objec……t` having `DynamicPseudoType` as their type when unmarshaling JSON values from Terraform.
Configuration menu - View commit details
-
Copy full SHA for 7943864 - Browse repository at this point
Copy the full SHA 7943864View commit details