elsa-core/src/modules/Elsa.Expressions
Sipke Schoorstra d72c4974d2
Refactor ObjectConverter to improve readability and add backward-compatible default value handling in non-strict mode. (#6852)
* Refactor `ObjectConverter` to improve readability and add backward-compatible default value handling in non-strict mode.

* Add `StrictMode` option to `ObjectConverterOptions` and update related tests

Introduced a `StrictMode` option to `ObjectConverterOptions` to control strict type conversion behavior. Updated the `ObjectConverter` logic to utilize this new option and refactored unit tests to include `ObjectConverterOptions` where necessary, ensuring comprehensive test coverage for strict and non-strict mode scenarios.

* Fix ObjectConverter default value handling and update unit tests

Standardize usage of `targetType` for default values in `ObjectConverter`. Refactor and consolidate unit tests to improve coverage and clarity, addressing various conversion and exception scenarios.
2025-08-11 08:50:45 +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 Upgrade Quartz and some warning fixes (#5949) 2024-09-16 01:55:24 -07:00
Features Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
Helpers Refactor ObjectConverter to improve readability and add backward-compatible default value handling in non-strict mode. (#6852) 2025-08-11 08:50:45 +02:00
Models Add strict type checking for variable parsing (#6536) 2025-03-31 18:11:14 +02:00
Options Fix all broken summary xml docs (#6123) 2024-11-18 13:41:27 +01:00
Services Adjust dictionary to use case-insensitive string comparer 2024-07-07 21:20:20 +02:00
DelegateExpressionHandler.cs Add Bulk Dispatch Workflow activity (#4683) 2023-12-06 22:32:08 +01:00
Elsa.Expressions.csproj Improve JSON array conversion in ObjectConverter 2025-01-29 10:50:42 +01: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