Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Allow expressing metadata queries as path selectors instead of keys-only #152

Closed
queer opened this issue Jan 26, 2021 · 0 comments · Fixed by #154
Closed

Allow expressing metadata queries as path selectors instead of keys-only #152

queer opened this issue Jan 26, 2021 · 0 comments · Fixed by #154
Labels
enhancement New feature or request

Comments

@queer
Copy link
Owner

queer commented Jan 26, 2021

Suggested by @FiniteReality in Discord.

Instead of how ops currently work, they could be specified as something like

[
  {
    op: "$eq",
    path: "/key",
    to: {value: "some string"},
  },
  {
    op: "$eq",
    path: "/key/array/0/value",
    to: {path: "/key"},
  },
]
@queer queer added the enhancement New feature or request label Jan 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant