DapperLib / Dapper.Contrib

Dapper community contributions - additional extensions for Dapper
Other
267 stars 99 forks source link

[Question] WriteAtrribute to be inherited #165

Open alex13lopez opened 11 months ago

alex13lopez commented 11 months ago

So I've been working with a workaround to Dapper's issue #914 and while I completed it succesfully for my code I encountered that WriteAttribute(false) attribute is not inherited by derived classes and I need this for the workaround to work succesfully. For now I have the property of the base class marked as abstract and each child class implements it the same way and adds the WriteAttribute(false)

My question is: Is this the intended behaviour and if I want this behaviour I should fork the project for my use-case or should I add the Inherited = True to the WriteAttribute and do a Pull Request? (Y'all have plenty of work and I know this is not the priority now as the priority is DapperAot).