-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
The current implementation of the LiquidValueConverter includes static properties from classes, which is probably not intended (at least it was not expected behavior when we tried using it).
Example class:
public class ViewModel
{
public string Title { get; set; }
public static string OtherData { get; set; }
}Code sample:
ViewModel.OtherData = "aaa";
var liquid = new ViewModel() { Title = "bbb" }.ToLiquid();Expected result:
After executing the code sample, the liquid object should only include the Title property.
Observed result:
After executing the code sample, the liquid object includes both the Title property and the OtherData property.
Metadata
Metadata
Assignees
Labels
No labels