@@ -1519,6 +1519,9 @@ func TestGRPCProvider_Encode(t *testing.T) {
15191519 Before : cty .NullVal (cty .Object (map [string ]cty.Type {
15201520 "config" : cty .Object (map [string ]cty.Type {
15211521 "filter_attr" : cty .String ,
1522+ "nested_filter" : cty .Object (map [string ]cty.Type {
1523+ "nested_attr" : cty .String ,
1524+ }),
15221525 }),
15231526 "data" : cty .List (cty .Object (map [string ]cty.Type {
15241527 "state" : cty .Object (map [string ]cty.Type {
@@ -1532,6 +1535,9 @@ func TestGRPCProvider_Encode(t *testing.T) {
15321535 After : cty .ObjectVal (map [string ]cty.Value {
15331536 "config" : cty .ObjectVal (map [string ]cty.Value {
15341537 "filter_attr" : cty .StringVal ("value" ),
1538+ "nested_filter" : cty .ObjectVal (map [string ]cty.Value {
1539+ "nested_attr" : cty .StringVal ("value" ),
1540+ }),
15351541 }),
15361542 "data" : cty .ListVal ([]cty.Value {
15371543 cty .ObjectVal (map [string ]cty.Value {
@@ -1765,6 +1771,9 @@ func TestGRPCProvider_ListResource_Error(t *testing.T) {
17651771 configVal := cty .ObjectVal (map [string ]cty.Value {
17661772 "config" : cty .ObjectVal (map [string ]cty.Value {
17671773 "filter_attr" : cty .StringVal ("filter-value" ),
1774+ "nested_filter" : cty .ObjectVal (map [string ]cty.Value {
1775+ "nested_attr" : cty .StringVal ("value" ),
1776+ }),
17681777 }),
17691778 })
17701779 request := providers.ListResourceRequest {
@@ -1780,6 +1789,9 @@ func TestGRPCProvider_ListResource_Diagnostics(t *testing.T) {
17801789 configVal := cty .ObjectVal (map [string ]cty.Value {
17811790 "config" : cty .ObjectVal (map [string ]cty.Value {
17821791 "filter_attr" : cty .StringVal ("filter-value" ),
1792+ "nested_filter" : cty .ObjectVal (map [string ]cty.Value {
1793+ "nested_attr" : cty .StringVal ("value" ),
1794+ }),
17831795 }),
17841796 })
17851797 request := providers.ListResourceRequest {
0 commit comments