Skip to content

Better message on missing array index reference #429

@moorereason

Description

@moorereason

Given the following simplified payload:

{
  "foo": {
    "array": [
      { "name": "bar" }
    ]
  }
}

To correctly reference name, you should use foo.array.0.name. It's a common mistake to overlook the array indexing and attempt to match foo.array.name.

We added some additional logging in #384 that prints something like parameter node not found: name.

It would be helpful if we could return a better message in this scenario to alert the user that they're missing an index or that we tried a map lookup on an array.

See #428

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions