Emit Mapper الإغراء مع محولات مخصصة
-
10-12-2019 - |
سؤال
باستخدام هذا التكوين لسبب ما، لا يتم استدعاء وظيفة المراجعة للآراء من محول مخصص عند استخدام FlatteringConfig من عينات Emitmapper.يطلق عليه، عند استخدام DefaultMapconfig.
التكوين: giveacodicetagpre.
أي أفكار حول السبب المحتمل؟
الحل
انظر إلى إجابتي أدناه
المحلول
Because FlatteringConfig overrides GetMappingOperations
function it is not calling FilterOpertations
functions, which assigns custom converters. So adding FilterOperations
function call to the GetMappingOperations
solved the problem.
لا تنتمي إلى StackOverflow