Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi Oueldi committed Mar 16, 2023
1 parent bcc6c6b commit 60003e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static EntityTableClientOptions ConfigureSerializer(this EntityTableClien
return options;
}

public static EntityTableClientOptions SerializeWithStringEnumConverter(this EntityTableClientOptions options)
public static EntityTableClientOptions ConfigureSerializerWithStringEnumConverter(this EntityTableClientOptions options)
{
options?.SerializerOptions?.AddJsonStringEnumConverter();
return options;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ public async Task Should_Serialize_Enum_As_String()
var person = Fakers.CreateFakePerson().Generate(1).FirstOrDefault();
var options = new EntityTableClientOptions() { };
_commonOptions.Invoke(options);
options.SerializeWithStringEnumConverter();
options.ConfigureSerializerWithStringEnumConverter();

var genericClient = EntityTableClient.Create<TableEntity>(TestEnvironment.ConnectionString)
.Configure(options, c =>
Expand Down

0 comments on commit 60003e6

Please sign in to comment.