Skip to content

include ExplicitConstructorAttribute's targets to constructor&method #1982

Merged
mgravell merged 2 commits into
DapperLib:mainfrom
DeagleGross:dmkorolev/explicitconstructor-tomethod
Oct 22, 2023
Merged

include ExplicitConstructorAttribute's targets to constructor&method #1982
mgravell merged 2 commits into
DapperLib:mainfrom
DeagleGross:dmkorolev/explicitconstructor-tomethod

Conversation

@DeagleGross
Copy link
Copy Markdown
Contributor

In Dapper.AOT we are implementing a support for factory method construction of instances. As proposed by @mgravell - we can use existing Dapper.ExplicitConstructorAttribute for that - but we need to expand the attribute targets model.

PR link: Non-trivial instance construction with factory methods #59;
Proposition link: keep the name and change the allowable targets (C)

Comment thread Dapper/ExplicitConstructorAttribute.cs
@mgravell mgravell merged commit f0e61a7 into DapperLib:main Oct 22, 2023
@DeagleGross DeagleGross deleted the dmkorolev/explicitconstructor-tomethod branch October 22, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants