Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robersonliou
Copy link

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.

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 robersonliou requested a review from a team as a code owner November 9, 2020 14:54
@robersonliou robersonliou changed the title [Bug fixde] Fixed bug with implicit JObject convertion in source generator mustache sample. [Bug fixed] Fixed bug with implicit JObject convertion in source generator mustache sample. Nov 9, 2020
Base automatically changed from master to main March 5, 2021 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant