Skip to content

fix: use toCamelCase in redis get method for the payload#3172

Merged
whysosaket merged 1 commit intomem0ai:mainfrom
Failfail2603:patch-1
Mar 20, 2026
Merged

fix: use toCamelCase in redis get method for the payload#3172
whysosaket merged 1 commit intomem0ai:mainfrom
Failfail2603:patch-1

Conversation

@Failfail2603
Copy link
Copy Markdown
Contributor

@Failfail2603 Failfail2603 commented Jul 16, 2025

Description

The redis vector store should reliably convert between snake_case and camelCase. In the get method of the redis implementation the payload was given back raw. I converted the payload back to camelCase like the search method does it?

As i do not have the time to go trough a complete process for a single line change I just opened this pull request so you can review the changes yourself. This is not a feature request but a critical bug fix.

Fixes #3171

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

I tested this is the node_modules folder in my current project.

  • Unit Test
  • Test Script (please provide)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Made sure Checks passed

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 16, 2025

CLA assistant check
All committers have signed the CLA.

@utkarsh240799
Copy link
Copy Markdown
Contributor

All changes LGTM!

@whysosaket whysosaket merged commit 7ad5d6f into mem0ai:main Mar 20, 2026
1 of 2 checks passed
jamebobob pushed a commit to jamebobob/mem0-vigil-recall that referenced this pull request Mar 29, 2026
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.

Typescript SDK Redis get function does not convert back to camelCase

4 participants