From 7e5b073bbb4340101d5d839d3a1465e1ce9f54f7 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Tue, 16 Jan 2024 10:04:39 +1100 Subject: [PATCH] fix: secrets type constraints --- go-runtime/sdk/secrets.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-runtime/sdk/secrets.go b/go-runtime/sdk/secrets.go index b9b6a0d514..cd20794081 100644 --- a/go-runtime/sdk/secrets.go +++ b/go-runtime/sdk/secrets.go @@ -13,8 +13,8 @@ import ( // allow any type that FTL supports, including structs. type SecretType interface { string | int | float64 | bool | - []string | []int | []float64 | []bool | []byte - map[string]string | map[string]int | map[string]float64 | map[string]bool | map[string][]byte + []string | []int | []float64 | []bool | []byte | + map[string]string | map[string]int | map[string]float64 | map[string]bool | map[string][]byte } // Secret declares a typed secret for the current module.