Skip to content

🐛 fix(TypeAdapter.cs): Make source parameter nullable#583

Merged
andrerav merged 1 commit intoMapsterMapper:masterfrom
msadeqsirjani:master
May 29, 2023
Merged

🐛 fix(TypeAdapter.cs): Make source parameter nullable#583
andrerav merged 1 commit intoMapsterMapper:masterfrom
msadeqsirjani:master

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
Member

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