From 5f69184c3a8344349a06567dac6758ffaa6afb52 Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Mon, 27 Apr 2020 20:17:57 +0100 Subject: [PATCH] Update StronglyTypedIdJsonConverter values Reverts https://github.com/andrewlock/StronglyTypedId/pull/12/commits/4b26097d226d28db33cba997c96dd52debf36971 --- .../StronglyTypedIdJsonConverter.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/StronglyTypedId.Attributes/StronglyTypedIdJsonConverter.cs b/src/StronglyTypedId.Attributes/StronglyTypedIdJsonConverter.cs index bb6836539..8b230e0e0 100644 --- a/src/StronglyTypedId.Attributes/StronglyTypedIdJsonConverter.cs +++ b/src/StronglyTypedId.Attributes/StronglyTypedIdJsonConverter.cs @@ -6,6 +6,7 @@ [Flags] public enum StronglyTypedIdJsonConverter { - NewtonsoftJson = 0, - SystemTextJson = 1 + // Used with HasFlag, so needs to be 1, 2, 4 etc + NewtonsoftJson = 1, + SystemTextJson = 2, } \ No newline at end of file