Skip to content

Fix set_then_get Lua function signatures - #309

Open
lntutor wants to merge 2 commits into
valkey-io:mainfrom
lntutor:docs/301-fix-lua-function-signature
Open

Fix set_then_get Lua function signatures#309
lntutor wants to merge 2 commits into
valkey-io:mainfrom
lntutor:docs/301-fix-lua-function-signature

Conversation

@lntutor

@lntutor lntutor commented Jul 31, 2026

Copy link
Copy Markdown

Summary

Updates every set_then_get example to accept Valkey Functions’ (keys, args) arrays and index the first key and argument before calling SET and GET.

Validation

  • pnpm run format:check:mdx
  • pnpm build
  • git diff --check

Checklist

  • Targets main
  • MDX formatting passes
  • Documentation build and internal-link validation pass
  • Commit includes DCO sign-off

Fixes #301

@lntutor

lntutor commented Aug 1, 2026

Copy link
Copy Markdown
Author

Current head 2981661 is mergeable, the DCO check is green on this head, and I do not see any unresolved review threads or contributor-side follow-up remaining. This looks ready for maintainer review when convenient.

@Aryex Aryex assigned Aryex and lntutor and unassigned Aryex Aug 6, 2026
@Aryex
Aryex requested review from Aryex and jeremyprime August 6, 2026 16:23
@Aryex Aryex added bug Something isn't working documentation Improvements or additions to documentation labels Aug 6, 2026

@Aryex Aryex left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for fixing this. lgtm.

Comment thread src/content/docs/how-to/load-and-execute-functions.mdx
lntutor added 2 commits August 8, 2026 15:52
Signed-off-by: Loi Nguyen <vanloi999@gmail.com>
Signed-off-by: Loi Nguyen <vanloi999@gmail.com>
@lntutor
lntutor force-pushed the docs/301-fix-lua-function-signature branch from 2981661 to 0906b16 Compare August 8, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Lua function signature in set_then_get examples

3 participants