Commit graph

4 commits

Author SHA1 Message Date
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
Sipke Schoorstra 78c6df152e
Refactor and clean up Connections API and Core components
Removed unused code, optimized imports, and updated method signatures for better null-safety and consistency. Consolidated redundant logic, improved error handling in endpoints, and applied modern syntax and practices across the Connections module.
2025-02-23 14:07:32 +01:00
Jérémie DEVILLARD 0aed8208dc Mass Refactoring to be compliant with other code in Elsa Repo
- Refactor IStore, InputModel and Entities
- Add Persistence Project
- Add EntityFameworkCore Project
2025-02-12 00:12:06 +01:00
Jérémie DEVILLARD 7ed2bc1c1f Add Elsa Connection Module (wip on persistence and naming) 2025-01-07 11:39:57 +01:00