elsa-core/test/unit
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
..
Elsa.Common.Core Feature/cancel dispatched workflows (#5136) 2024-03-27 12:07:55 +01:00
Elsa.MongoDb.UnitTests Add .NET 9.0 target 2024-12-10 21:06:42 +01:00
Elsa.Workflows.Core.UnitTests 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
Elsa.Workflows.Runtime.UnitTests Add .NET 9.0 target 2024-12-10 21:06:42 +01:00