elsa-core/test
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
..
component Replace default! with null! for better nullability safety 2025-05-25 19:26:38 +02:00
integration Implement retry attempt capturing (#6674) 2025-05-26 11:47:09 +02:00
performance Added example of perfomance test 2024-12-27 18:57:22 +03:00
unit 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
Directory.Build.props Add .NET 9.0 target 2024-12-10 21:06:42 +01:00