roslyn-sdk icon indicating copy to clipboard operation
roslyn-sdk copied to clipboard

[Bug fixed] Fixed bug with implicit JObject convertion in source generator mustache sample.

Open robersonliou opened this issue 4 years ago • 0 comments

In the first sample case of mustache section template in UseMustacheGenerator.cs, It would get result: "Hello Chris, You have just won 10000 dollars!". But it should be "Hello Chris, You have just won 10000 dollars! Well, 10000 dollars, after taxes." The problem here is the implicit json deserialization, so just add Dictionary<string, object> as explict type to get pass.

robersonliou avatar Nov 09 '20 14:11 robersonliou