Skip to content

Conversation

@roji
Copy link
Member

@roji roji commented Jun 7, 2021

Closes #3814

@roji roji requested a review from NinoFloris June 7, 2021 08:13
@roji roji requested a review from vonzshik as a code owner June 7, 2021 08:13
@roji roji force-pushed the MoreReflectionBegone branch from b44e954 to 9af93ea Compare June 7, 2021 08:29
@roji roji force-pushed the MoreReflectionBegone branch from 9af93ea to a75f20e Compare June 7, 2021 08:32
Copy link
Member

@NinoFloris NinoFloris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this.

Looks good, considering the janky shape of the type :p (why is everything in ado.net defined as being dynamically and statically accessible...)

Testing under reflection free mode we can now successfully create and open a connection, then it breaks at a few more places in the type mapper init. By hacking around those everything starts working!

@roji roji merged commit 4faec41 into main Jun 7, 2021
@roji roji deleted the MoreReflectionBegone branch June 7, 2021 16:19
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.

Static init of ConnectionStringBuilder is very reflection heavy

2 participants