Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Query nodes based on related models with a unique field #90

Closed
marktani opened this issue Feb 6, 2017 · 1 comment
Closed

Query nodes based on related models with a unique field #90

marktani opened this issue Feb 6, 2017 · 1 comment

Comments

@marktani
Copy link
Contributor

marktani commented Feb 6, 2017

type User {
  id
}

type Slug {
  key: String! [unique]
}

This query should be possible:

query {
  User(slug: { key: "my-slug" }) {
    id
  }
}
@sorenbs
Copy link
Member

sorenbs commented Nov 19, 2017

Please see #1267

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants