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

Allow reference resolution to be configured #24

Open
chrisdmacrae opened this issue Oct 25, 2020 · 0 comments
Open

Allow reference resolution to be configured #24

chrisdmacrae opened this issue Oct 25, 2020 · 0 comments

Comments

@chrisdmacrae
Copy link

I would like to specify what key that the _ref implementation searches on.

Right now, the following data structure:

[
  {
    _id: "1",
    text: "Foo",
    parent: {
      _ref: "2"
    }
  },
  {
    _id: "1",
    text: "Bar"
  },
]

When running it through a groq query like so: * { parent-> } it only resolve on _id. I want to be able to resolve on any key.

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

No branches or pull requests

1 participant