From 0656931fc227b3d9e69fbf7f553df8821bad1c56 Mon Sep 17 00:00:00 2001 From: Fabrizio Demaria Date: Wed, 3 Apr 2024 16:19:50 +0200 Subject: [PATCH] ConfidenceValue is only Codable --- Sources/Confidence/ConfidenceValue.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Confidence/ConfidenceValue.swift b/Sources/Confidence/ConfidenceValue.swift index 6aecbb1e..7c6422c6 100644 --- a/Sources/Confidence/ConfidenceValue.swift +++ b/Sources/Confidence/ConfidenceValue.swift @@ -3,7 +3,7 @@ import Foundation public typealias ConfidenceStruct = [String: ConfidenceValue] /// Serializable data structure meant for event sending via Confidence -public enum ConfidenceValue: Equatable, Codable { +public enum ConfidenceValue: Equatable, Encodable { case boolean(Bool) case string(String) case integer(Int64)