elsa-core/test/integration/Elsa.Workflows.IntegrationTests
Copilot 37921b5ee0
Restore Literal handling in ActivityExecutionContext.TryGet (#7075)
* Initial plan

* Add Literal handling back to ActivityExecutionContext.TryGet

This restores support for dynamic Literal inputs that was removed in version 3.5.2.
When an Input is created with a Literal, the Literal becomes the MemoryBlockReference.
Since Literals hold values directly rather than in the memory register, they need
special handling in TryGet to return their value.

Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>

* Improve test coverage for Literal handling in ActivityExecutionContext

- Removed ineffective unit tests that only checked type relationships
- Added explicit integration test for TryGet with Literal references
- Added integration test for Get with Input<T> containing Literal
- All tests now directly verify the fixed TryGet behavior

Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
2025-12-29 10:29:55 +01:00
..
Activities Add support for activity output testing (#6529) 2025-03-31 18:10:59 +02:00
Core Restore Literal handling in ActivityExecutionContext.TryGet (#7075) 2025-12-29 10:29:55 +01:00
Scenarios Restore pre-3.5 Join WaitAll behavior (#7006) 2025-11-11 17:21:58 +01:00
Serialization Replace default! with null! for better nullability safety 2025-05-25 19:26:38 +02:00
Elsa.Workflows.IntegrationTests.csproj Fixes deadlock issue with implicit joins (#6955) 2025-10-09 21:33:23 +02:00
Elsa.Workflows.IntegrationTests.csproj.DotSettings
Usings.cs Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00