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

Cmd parser with commands #2733

Draft
wants to merge 72 commits into
base: v5
Choose a base branch
from
Draft

Conversation

sjpotter
Copy link
Contributor

@sjpotter sjpotter commented Apr 4, 2024

Builds on #2716

@sjpotter sjpotter force-pushed the cmd-parser-with-commands branch 2 times, most recently from 3cc3b3b to 02245f3 Compare April 4, 2024 11:40
sjpotter and others added 30 commits August 19, 2024 11:33
enables type mapping of "maps" in resp2 responses that are "fake maps"/mapes in resp3.

also enables user configuration of fake maps in resp3 responses (stream message fields).
zpopmax (and related) get messed up a by a vsc getter insertion.

memory_stats was teting for strings, but inherent DoubleReply are now returned as numbers by default
unsure if this is correct, but everything that is type 'object' will be handled by code as is.
we will always return a typemapped resp3 format, even in resp2.
we will not massage the field names to remove the spaces.

+ handles type mapping of double in resp2 for the one case.
didn't update tests, and got types wrong
didn't like the null prototype for deep equal
1) remove FIRST_KEY_INDEX (As now via pushKeys), but still need something
to enumerate if should be on cluster client, so now have a NOT_KEYED_COMMAND

1a) in process saw that not all commands were using pushKey() correctly.

2) fix up usages of parser.pushVariadic() for use only for existing variadic/arrays..
parser.push() can now handle multi element pushes, so don't have to wrap in an array.
reoder imports
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.

2 participants