* GetVariable<T> now uses Convert.ChangeType
Fixes issue where saving an Int32, serialising and deserialising, then accessing with GetVariable<int>(...) no longer causes type cast exception.
The saved value is a JValue which treats Int32 as Int64. Convert.ChangeType has a better chance of performing conversion without error.
Also returns default of T if the variable isn't found.
* Added SetVariable overload in Variables
To prevent double-wrapping objects in more than 1 Variable object
* Variables are now stored including their type name for automatic deserialization into their actual type. This is important for use in expressions.
* **SplitObject** and **ExecuteMethod** now use workflow expressions instead of variable names. This allows for more flexibility.
* Improved **Join** activity to allow proper function within looping constructs.
* Improved Variables performance. Variables are no longer serialized/deserialized upon writing/reading perspectively, only when the workflow instance is persisted.
* Refactor buggy SignalRequestHandler
For some reason, the following code is problematic:
await DecryptToken()
.BindAsync(GetWorkflowInstanceAsync)
.BindAsync(CheckIfExecutingAsync)
.MapAsync(ResumeWorkflowAsync);
Basically, any lambda in the BindAsync and MapAsync could execute even after the containing method returned
* Implement better message handler registration without adding multiple IMediator services
* Abstracted Mediator service registration methods.
* Add Liquid support for JObject.
* Fix StringValues serialization and rename WorkflowDefinition to WorkflowDefinitionVersion
* Fix Singleton issue and add support for absolute URL using base URL for background tasks
* Fix persistence and lifetime scope issues
* Fix timer bugs
* Various bug fixes
* Removed cruft
* Consolidated activity driver with activity
* Incremental work on serialization
* Incremental work on serialization
* WIP
* Incremental work on strongly typed defined workflows
* Removed old samples and added new ones
* Updated primitives and improved workflow builder API
* WIP (broken)
* Coded workflow API improvements
* Fixed Email and Http libraries
* Fixed start activity issue