elsa-core/test
Sipke Schoorstra 476656ccce
Implement internal state activity persistence and logging mechanisms (#6601)
* Implement internal state activity persistence and logging mechanisms

Updated property handling to support nullable dictionaries and improved persistable states. Adjusted serialization logic to handle optional fields more robustly, ensuring better compatibility with log persistence mappings and internal state evaluations.

* Replace default! with null! for string properties

Updated string properties in various records to use null! instead of default! for consistency and clarity. Additionally, adjusted methods to check collection existence before serialization and streamlined object initializations with simplified syntax where possible.

* Fix nullable types in DeserializeActivityState method

Updated the method's return type and JSON deserialization to properly handle nullable values. This ensures better alignment with the method's behavior and avoids potential null reference issues.

* Fix null reference issues in InputOutputLoggingTests

Replaced forced null dereferences with safe navigation checks to prevent potential null reference exceptions. This ensures more robust and error-free test execution for activity state validations.
2025-04-18 14:29:18 +02:00
..
component Implement internal state activity persistence and logging mechanisms (#6601) 2025-04-18 14:29:18 +02:00
integration Fix Output Persistence of Async Activities (#6542) 2025-04-01 07:53:00 +02:00
performance Added example of perfomance test 2024-12-27 18:57:22 +03:00
unit Enable strict mode for ObjectConverter in unit tests 2025-04-10 19:57:39 +02:00
Directory.Build.props Add .NET 9.0 target 2024-12-10 21:06:42 +01:00