Skip to content

Current key identifier #5

Closed
Closed

Description

@jg-rp

Add _ as a handle for the current key when filtering a map-like object.

When filtering a map-like object, _ would be the key associated with @, or undefined if filtering a non-mapping object.

Activity

  1. added
    enhancement
    on May 1, 2023
  2. jg-rp commented on May 2, 2023

    @jg-rp
    OwnerAuthor

    Having given it some though, I've decided to make _ the default identifier for "extra context data" and use # for the current key identifier.

    Also, when filtering an array-like object, # will be assigned the current index.

  3. changed the title [-]Current key identifier `_`[/-] [+]Current key identifier[/+] on May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions