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: decoding tuple when no value is fetched #380

Closed
wants to merge 1 commit into from

Conversation

CJ42
Copy link
Collaborator

@CJ42 CJ42 commented Jan 22, 2024

What kind of change does this PR introduce (bug fix, feature, docs update, ...)?

Bug fix

What is the current behaviour (you can also link to an open issue here)?

See issue #372

What is the new behaviour (if this is a feature change)?

When using getData or fetchData with a key type that contains a tuple, if no value is fetched, return an array with a number of undefined elements (as many as defined by the number of elements in the tuple).

Other information:

Fix #372

@CJ42 CJ42 requested a review from Hugoo January 22, 2024 14:58
@codecov-commenter
Copy link

codecov-commenter commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (afd6885) 82.86% compared to head (6b0ab14) 83.58%.

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

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #380      +/-   ##
===========================================
+ Coverage    82.86%   83.58%   +0.72%     
===========================================
  Files           19       19              
  Lines         1243     1243              
  Branches       286      286              
===========================================
+ Hits          1030     1039       +9     
+ Misses         115      110       -5     
+ Partials        98       94       -4     

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

Co-authored-by: Felix Hildebrandt <fhildeb@users.noreply.github.com>
@CJ42
Copy link
Collaborator Author

CJ42 commented Jan 22, 2024

Closing as this was already resolved in #378

@CJ42 CJ42 closed this Jan 22, 2024
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.

[Bug] Not possible to fetch dynamic key parts individually
2 participants