Discussion on Parameterless Constructor in Product Class for Dapper Reflection #37
italopessoa
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There's a consideration to make the parameterless constructor of the Product class either 'internal' or to replace it with DTOs specifically for the infrastructure layer to facilitate reflection mapping with the Dapper library. This constructor currently exists without any logic to support serialization/deserialization processes required by Dapper. Let's discuss the potential impacts and best practices for this approach.
Related PR: PR #35
Beta Was this translation helpful? Give feedback.
All reactions