Skip to content

Feedback: JSON.ARRAPPEND #2983

Closed
Closed

Description

@Dgramada

Page https://redis.io/docs/latest/commands/json.arrappend

The diagrams on the page show the path argument as optional, however it is obligatory.

Activity

  1. self-assigned this
    on Apr 6, 2026
  2. added
    bug
    on Apr 6, 2026
  3. dwdougherty commented on Apr 6, 2026

    @dwdougherty
    Collaborator

    Looking at the JSON module's command.json file, I can see that path is marked as "optional" for the JSON.ARRAPPEND command (see below). The command page's syntax information is automatically generated from the commands.json file, so it first needs to be fixed there before I can address it on the docs site.

    "JSON.ARRAPPEND": {
        "summary": "Append one or more json values into the array at path after the last element in it.",
        "complexity": "O(1) when path is evaluated to a single value, O(N) when path is evaluated to multiple values, where N is the size of the key",
        "arguments": [
          {
            "name": "key",
            "type": "key"
          },
          {
            "name": "path",
            "type": "string",
            "optional": true        <---
          },
          {
            "name": "value",
            "type": "string",
            "multiple": true
          }
        ],
        "since": "1.0.0",
        "group": "json"
      }
    
  4. added
    oss
    on Apr 6, 2026
  5. dwdougherty commented on Apr 6, 2026

    @dwdougherty
    Collaborator

    I opened a ticket on the redisjson/redisjson repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugoss

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions