From fa42b5f6dd381a37e79f975edc4ad70efa030c4d Mon Sep 17 00:00:00 2001 From: Lucas TESSON Date: Mon, 25 Mar 2024 23:37:23 +0100 Subject: [PATCH] WIP fix(challenge): fix hint requirements invalid default value --- provider/challenge/hint_subresource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/challenge/hint_subresource.go b/provider/challenge/hint_subresource.go index f8e082a..10bff38 100644 --- a/provider/challenge/hint_subresource.go +++ b/provider/challenge/hint_subresource.go @@ -48,9 +48,9 @@ func HintSubresourceAttributes() map[string]schema.Attribute { "requirements": schema.ListAttribute{ MarkdownDescription: "Other hints required to be consumed before getting this one. Useful for cost-increasing hint strategies with more and more help.", ElementType: types.StringType, - Default: listdefault.StaticValue(basetypes.ListValue{}), Computed: true, Optional: true, + Default: listdefault.StaticValue(basetypes.NewListNull(types.StringType)), }, } }