elsa-core/src/modules/Elsa.Expressions
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
..
Contracts Refactor expression descriptors and remove unnecessary async calls 2023-12-10 21:43:24 +01:00
Exceptions Features API (#3081) 2022-05-27 12:36:39 +02:00
Extensions Decouple Expression Types (#4622) 2023-11-14 20:44:42 +01:00
Features Merge scope change into main (#4738) 2024-01-02 14:52:53 +01:00
Helpers Refactor serializer options usage and enhance caching in workflow serialization (#5275) 2024-04-25 11:42:48 +02:00
Models Update expression serialization and deserialization 2024-02-12 19:26:00 +01:00
Options Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Services Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
DelegateExpressionHandler.cs Add Bulk Dispatch Workflow activity (#4683) 2023-12-06 22:32:08 +01:00
Elsa.Expressions.csproj Convert to use Central Package Management 2024-02-04 13:49:54 +02:00
FodyWeavers.xml Prepare projects for packaging 2022-11-03 21:40:23 +01:00
LiteralExpression.cs Improve Elsa workflow expression serialization (#4930) 2024-02-12 18:47:25 +01:00