elsa-core/src
James Doran 205487425a
Variable fixes (#211)
* 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
2019-12-13 17:51:01 +10:30
..
activities Update packages 2019-12-10 15:46:49 +01:00
core Variable fixes (#211) 2019-12-13 17:51:01 +10:30
dashboard Update packages 2019-12-10 15:46:49 +01:00
persistence YesSql instance storage fixes (#209) 2019-12-11 08:15:05 +01:00
samples Update packages 2019-12-10 15:46:49 +01:00
scripting Moved JavaScript DI extension method namespace (#179) (#196) 2019-11-23 08:21:20 +01:00
utils/Elsa.AutoMapper.Extensions Update packages 2019-12-10 15:46:49 +01:00