Skip to content

AllowNullPropertyAssignment and ICollection #1792

Closed Answered by latonz
sraedler asked this question in Q&A
Discussion options

You must be logged in to vote

This behavior—only assigning the collection if it is not empty—is currently not supported by Mapperly.
What’s the use case or motivation behind wanting to skip the assignment if the collection is empty? Understanding your scenario better could help us think about potential workarounds or future feature ideas.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sraedler
Comment options

@latonz
Comment options

Answer selected by sraedler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants