File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.1.0 (August 20, 2024)
2
+ Stops connecting newly created sources and warehouses by default.
3
+
1
4
## 1.0.5 (August 12, 2024)
2
5
Fixes a bug where user groups could not be cleared.
3
6
Original file line number Diff line number Diff line change 1
1
package models
2
2
3
3
import (
4
+ "encoding/json"
5
+ "errors"
6
+
4
7
"github.com/hashicorp/terraform-plugin-framework-jsontypes/jsontypes"
5
8
"github.com/hashicorp/terraform-plugin-framework/types"
6
9
"github.com/segmentio/public-api-sdk-go/api"
@@ -45,7 +48,8 @@ func GetScheduleConfig(scheduleConfig api.NullableScheduleConfig) (jsontypes.Nor
45
48
return jsontypes .NewNormalizedNull (), nil
46
49
}
47
50
48
- jsonScheduleConfigString , err := scheduleConfig .Get ().MarshalJSON ()
51
+ jsonScheduleConfigString , err := json .Marshal (scheduleConfig )
52
+ return jsontypes .NewNormalizedNull (), errors .New (string (jsonScheduleConfigString ))
49
53
if err != nil {
50
54
return jsontypes .NewNormalizedNull (), err
51
55
}
You can’t perform that action at this time.
0 commit comments