Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix | Adding non-string support to SqlConnectionStringBuilder property indexer #2018

Merged
merged 5 commits into from
Apr 28, 2023

Conversation

JRahnama
Copy link
Member

@JRahnama JRahnama commented Apr 24, 2023

Fixes #2015

@codecov
Copy link

codecov bot commented Apr 24, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.61 🎉

Comparison is base (4657311) 70.02% compared to head (aa4b3b7) 70.63%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2018      +/-   ##
==========================================
+ Coverage   70.02%   70.63%   +0.61%     
==========================================
  Files         306      306              
  Lines       61800    61805       +5     
==========================================
+ Hits        43275    43657     +382     
+ Misses      18525    18148     -377     
Flag Coverage Δ
addons 92.88% <ø> (ø)
netcore 73.40% <100.00%> (-0.08%) ⬇️
netfx 69.25% <100.00%> (+0.99%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../Microsoft/Data/Common/DbConnectionStringCommon.cs 64.51% <100.00%> (+0.46%) ⬆️
...osoft/Data/SqlClient/SqlConnectionEncryptOption.cs 93.33% <100.00%> (+0.22%) ⬆️

... and 11 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ErikEJ
Copy link
Contributor

ErikEJ commented Apr 24, 2023

Possible to add a test?

@JRahnama
Copy link
Member Author

JRahnama commented Apr 24, 2023

Possible to add a test?

Sure, I will add some tests here.

Tests are added.

@JRahnama JRahnama changed the title Draft try to address issue 2015 Fix | Adding non-string support to SqlConnectionStringBuilder property indexer Apr 25, 2023
@JRahnama JRahnama marked this pull request as ready for review April 25, 2023 20:03
JRahnama and others added 2 commits April 26, 2023 12:58
Co-authored-by: David Engel <dengel1012@gmail.com>
@DavoudEshtehari DavoudEshtehari added this to the 5.2.0-preview2 milestone Apr 26, 2023
@DavoudEshtehari DavoudEshtehari added the 🐛 Bug! Something isn't right ! label Apr 26, 2023
Co-authored-by: DavoudEshtehari <61173489+DavoudEshtehari@users.noreply.github.com>
@JRahnama JRahnama merged commit 5d5ac7d into dotnet:main Apr 28, 2023
kant2002 pushed a commit to kant2002/SqlClient that referenced this pull request Jun 29, 2023
@JRahnama JRahnama deleted the connection-string-indexer branch September 8, 2023 12:51
DavoudEshtehari added a commit to DavoudEshtehari/SqlClient that referenced this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug! Something isn't right !
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SqlConnectionStringBuilder property indexer doesn't support non-string values
5 participants