RediSearch / redisearch-go

Go client for RediSearch
https://redisearch.io
BSD 3-Clause "New" or "Revised" License
293 stars 65 forks source link

Attributes to fields fix #163

Closed maguec closed 2 years ago

maguec commented 2 years ago

This fix ensures that both pre 2.4 and post 2.4 versions of redisearch properly return fields.

Includes a test to make sure the field types are accurately returned

codecov[bot] commented 2 years ago

Codecov Report

Merging #163 (c640767) into master (9a9429a) will increase coverage by 0.04%. The diff coverage is 80.00%.

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   82.88%   82.92%   +0.04%     
==========================================
  Files          13       13              
  Lines        1437     1441       +4     
==========================================
+ Hits         1191     1195       +4     
- Misses        194      195       +1     
+ Partials       52       51       -1     
Impacted Files Coverage Δ
redisearch/client.go 82.84% <80.00%> (+0.15%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9a9429a...c640767. Read the comment docs.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication