Skip to content

Commit 0dae4e0

Browse files
authored
Make ForceAliasCreation nullable (#2170)
1 parent d966740 commit 0dae4e0

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"Projects": [
3+
{
4+
"Name": "Amazon.Lambda.CognitoEvents",
5+
"Type": "Patch",
6+
"ChangelogMessages": [
7+
"[Breaking Change] Fix issue around not handling null value during deserialization for `ForceAliasCreation` by making it nullable."
8+
]
9+
}
10+
]
11+
}

Libraries/src/Amazon.Lambda.CognitoEvents/CognitoMigrateUserResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Collections.Generic;
1+
using System.Collections.Generic;
22
using System.Runtime.Serialization;
33

44
namespace Amazon.Lambda.CognitoEvents
@@ -51,6 +51,6 @@ public class CognitoMigrateUserResponse : CognitoTriggerResponse
5151
#if NETCOREAPP3_1_OR_GREATER
5252
[System.Text.Json.Serialization.JsonPropertyName("forceAliasCreation")]
5353
#endif
54-
public bool ForceAliasCreation { get; set; }
54+
public bool? ForceAliasCreation { get; set; }
5555
}
5656
}

0 commit comments

Comments
 (0)