You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that dynamic type support is in plugin framework, it's possible that provider developers will test dynamic data that could be a tuple. For readability, we should introduce equivalent TupleExact, TuplePartial, and TupleSize known value checks.
Workaround
Currently, you can test this with the List* equivalents, since no restriction is applied for knownvalue checks to be all the same type. Example with ListExact:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
terraform-plugin-testing version
Proposal
Now that dynamic type support is in plugin framework, it's possible that provider developers will test dynamic data that could be a tuple. For readability, we should introduce equivalent
TupleExact
,TuplePartial
, andTupleSize
known value checks.Workaround
Currently, you can test this with the
List*
equivalents, since no restriction is applied forknownvalue
checks to be all the same type. Example withListExact
:The text was updated successfully, but these errors were encountered: