diff --git a/src/Azure.EntityServices.Tables/Extensions/EntityTableclientOptionExtensions.cs b/src/Azure.EntityServices.Tables/Extensions/EntityTableclientOptionExtensions.cs index 446e6fa..13d8aa0 100644 --- a/src/Azure.EntityServices.Tables/Extensions/EntityTableclientOptionExtensions.cs +++ b/src/Azure.EntityServices.Tables/Extensions/EntityTableclientOptionExtensions.cs @@ -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; diff --git a/tests/Azure.EntityServices.Tests/Table/EntityTableClientTests.cs b/tests/Azure.EntityServices.Tests/Table/EntityTableClientTests.cs index 3d6763a..423cf99 100644 --- a/tests/Azure.EntityServices.Tests/Table/EntityTableClientTests.cs +++ b/tests/Azure.EntityServices.Tests/Table/EntityTableClientTests.cs @@ -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(TestEnvironment.ConnectionString) .Configure(options, c =>