Skip to content
Adam Schroder edited this page Oct 27, 2020 · 3 revisions

From version 5, class/records with non parameterless constructors will be supported.

However unlike other libraries, the constructor parameters are filled with default values, eg null, 0 etc. and then mapping occurs as per usual.

This is needed to support c# 9 records.

Note: If there is a parameterless constructor (public or private), it will be used by default.