Skip to content

Commit

Permalink
fix: secrets type constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Jan 15, 2024
1 parent 336435c commit 7e5b073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go-runtime/sdk/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7e5b073

Please sign in to comment.