elsa-core/src/modules/Elsa.Connections.Core
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
..
Attributes Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Contracts Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Converters Mass Refactoring to be compliant with other code in Elsa Repo 2025-02-12 00:12:06 +01:00
Extensions Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Features Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Filters Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Middleware Implement internal state activity persistence and logging mechanisms (#6601) 2025-04-18 14:29:18 +02:00
Models Mass Refactoring to be compliant with other code in Elsa Repo 2025-02-12 00:12:06 +01:00
ServiceProvider Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Services Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
UIHints Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Elsa.Connections.Core.csproj Mass Refactoring to be compliant with other code in Elsa Repo 2025-02-12 00:12:06 +01:00
FodyWeavers.xml Add Elsa Connection Module (wip on persistence and naming) 2025-01-07 11:39:57 +01:00