How to combine custom mapping and automatic mapping generation from query ? #123
-
Hello, First thanks for this project, it is really useful. I would like to be able to use the automatic generation of mapping (from the Using the sample from the documentation, I would like to be able to do this withtout specifiyng var mapper = new GridifyMapper<Person>()
.GenerateMappings()
.AddMap("address", p => p.Contact.Address)
.AddMap("Contact.PhoneNumber", p => p.Contact.PhoneNumber); // I would like to remove this Is it possible for now without having to respecify all possible mapping for basic parent.child properties ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @k94ll13nn3, you can follow the progress related to this feature in issue #124 |
Beta Was this translation helpful? Give feedback.
-
Hi @k94ll13nn3, More info: |
Beta Was this translation helpful? Give feedback.
Hi @k94ll13nn3,
This feature has been added to
v2.11.0
. (EDIT: please usev2.11.1
instead)Please let me know if you face any problems.
More info:
https://alirezanet.github.io/Gridify/guide/gridifyMapper.html#generatemappings