From 678ddd71240eae5171b4e5afefaf2d2e08460caa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Mon, 1 Apr 2024 16:03:00 +0200 Subject: [PATCH] v0.0.426 fix JsonOpt --- dataext/optional.go | 1 + goextVersion.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dataext/optional.go b/dataext/optional.go index 7f2a4a3..6facff5 100644 --- a/dataext/optional.go +++ b/dataext/optional.go @@ -25,6 +25,7 @@ func (m *JsonOpt[T]) UnmarshalJSON(data []byte) error { return errors.New("JsonOpt: UnmarshalJSON on nil pointer") } + m.isSet = true return json.Unmarshal(data, &m.value) } diff --git a/goextVersion.go b/goextVersion.go index 9aa9e67..dc4c574 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.425" +const GoextVersion = "0.0.426" -const GoextVersionTimestamp = "2024-03-30T14:24:53+0100" +const GoextVersionTimestamp = "2024-04-01T16:03:00+0200"