You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you change EnableNonPublicMembers to true it will make both members null. I believe the correct behavior would be to return an instance of Pet with both Name and Color initialized with their respective values.
The text was updated successfully, but these errors were encountered:
Please annotate with [AdaptMember] for now. EnableNonPublicMembers will apply private lookup to both Pet and IDictionary. And this make Mapster lookup IDictionary private members rather than dictionary keys.
If you change
EnableNonPublicMembers
totrue
it will make both members null. I believe the correct behavior would be to return an instance of Pet with both Name and Color initialized with their respective values.The text was updated successfully, but these errors were encountered: