elsa-core/src/modules/Elsa.Alterations.Core
Sipke Schoorstra 1e6aee4bba
Refactor serializer options usage and enhance caching in workflow serialization (#5275)
* Refactor serializer options usage and enhance caching in workflow serialization

This update refactors multiple classes dealing with JSON serialization. The usage of serializer options now includes a caching mechanism to avoid unnecessary recomputation. 'CreateOptions' method is replaced by a 'GetOptions' method that considers cached options. Classes are adjusted to clone options when necessary, ensuring a fresh and accurate context each time.

* Refactor serializer options in workflow serialization

This commit refactors how options are handled for JSON serializers in Elsa's workflow modules. JSON serializer options are now handled more efficiently, by directly using the provided options in `JsonIgnoreCompositeRootConverter` and setting up internal serializer options in `ObjectConverter`. Unnecessary methods related to the cloning of serializer options have been removed.
2024-04-25 11:42:48 +02:00
..
Abstractions Feature: Alterations (#4501) 2023-10-07 12:47:36 +02:00
Contexts Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Contracts Fix Alteration Runner (#5142) 2024-03-29 19:58:35 +01:00
Entities Alterations with Queries (#5032) 2024-03-13 20:34:46 +01:00
Enums Alterations with Queries (#5032) 2024-03-13 20:34:46 +01:00
Extensions Add DryRun endpoint and workflow instance finder (#5110) 2024-03-21 08:22:11 +01:00
Filters Feature: Alterations (#4501) 2023-10-07 12:47:36 +02:00
Models Add DryRun endpoint and workflow instance finder (#5110) 2024-03-21 08:22:11 +01:00
Notifications Add alteration notifications and management (#5097) 2024-03-20 10:58:59 +01:00
Options Feature: Alterations (#4501) 2023-10-07 12:47:36 +02:00
Results Feature: Alterations (#4501) 2023-10-07 12:47:36 +02:00
Serialization Refactor serializer options usage and enhance caching in workflow serialization (#5275) 2024-04-25 11:42:48 +02:00
Services Fix flowchart completion after faulted child activity cancellation (#5145) 2024-03-29 20:38:09 +01:00
Stores MassTransit Alterations Dispatcher (#4547) 2023-10-17 08:51:45 +02:00
Elsa.Alterations.Core.csproj Convert to use Central Package Management 2024-02-04 13:49:54 +02:00
FodyWeavers.xml Feature: Alterations (#4501) 2023-10-07 12:47:36 +02:00