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

fix ReplaceRenderer class. Method Parse, NullReferenceException #356

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

Conversation

wangengzheng
Copy link

close #355

@wangengzheng
Copy link
Author

The original intention of the adjustment is that when the model attribute is assumed to be null after release, it is difficult to find obvious errors in the corresponding stack

System.NullReferenceException: Object reference not set to an instance of an object.
   at FluentEmail.Core.Defaults.ReplaceRenderer.Parse[T](String template, T model, Boolean isHtml)
   at FluentEmail.Core.Defaults.ReplaceRenderer.ParseAsync[T](String template, T model, Boolean isHtml)

JohnCampionJr added a commit to jcamp-code/FluentEmail that referenced this pull request Jan 29, 2023
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.

fix ReplaceRenderer class Method Parse NullReferenceException
1 participant