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

Support Redis URI #208

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

Support Redis URI #208

wants to merge 16 commits into from

Conversation

shacharPash
Copy link
Collaborator

@shacharPash shacharPash commented Nov 22, 2023

Closes #202
Closes #204

@chayim chayim added the feature label Nov 26, 2023
@chayim
Copy link
Contributor

chayim commented Nov 26, 2023

@shacharPash This PR should include a couple of examples, specifically in the readme, for ease of connection, like other redis-clients

// TODO: add tests

[SkipIfRedis(Is.OSSCluster, Comparison.LessThan, "7.1.242")]
public void TestDefaultLibName()
Copy link
Contributor

Choose a reason for hiding this comment

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

IMHO this should be RedisUriParserTests, to align with the other class. Simlarly, let's add a mass coverage matrix. Can something like this work?

@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (b725b9e) 94.10% compared to head (18bb0e8) 93.93%.

Files Patch % Lines
src/NRedisStack/RedisUriParser.cs 87.05% 7 Missing and 4 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #208      +/-   ##
==========================================
- Coverage   94.10%   93.93%   -0.18%     
==========================================
  Files          85       88       +3     
  Lines        5178     5276      +98     
  Branches      487      494       +7     
==========================================
+ Hits         4873     4956      +83     
- Misses        178      188      +10     
- Partials      127      132       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/NRedisStack/NRedisStackConnectionMultiplexer.cs Outdated Show resolved Hide resolved
src/NRedisStack/NRedisStackConnectionMultiplexer.cs Outdated Show resolved Hide resolved
src/NRedisStack/NRedisStackConfigurationOptions.cs Outdated Show resolved Hide resolved
src/NRedisStack/NRedisStackConfigurationOptions.cs Outdated Show resolved Hide resolved
src/NRedisStack/NRedisStackConnectionMultiplexer.cs Outdated Show resolved Hide resolved
tests/NRedisStack.Tests/Core Commands/CoreTests.cs Outdated Show resolved Hide resolved
@shacharPash shacharPash mentioned this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants