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(TypeAdapter.cs): Make source parameter nullable #583

Merged
merged 1 commit into from
May 29, 2023

Conversation

msadeqsirjani
Copy link
Contributor

@msadeqsirjani msadeqsirjani commented Apr 22, 2023

Changes

  • The source parameter in the Adapt method is now nullable, which allows for null values to be passed in without throwing a null reference exception. This improves the robustness of the code and makes it more defensive against unexpected null values.

@eswann @chaowlert @chaowlert @satano

The source parameter in the Adapt method is now nullable, which allows for null values to be passed in without throwing a null reference exception. This improves the robustness of the code and makes it more defensive against unexpected null values.
@msadeqsirjani msadeqsirjani changed the title 🐛 fix(TypeAdapter.cs): make source parameter nullable 🐛 fix(TypeAdapter.cs): Make source parameter nullable Apr 22, 2023
@andrerav andrerav merged commit 1821035 into MapsterMapper:master May 29, 2023
@andrerav
Copy link
Contributor

Thanks!

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.

2 participants