discere
10/03/2017, 6:13 PMchen_alon
10/03/2017, 6:18 PMjschloer
10/03/2017, 6:19 PMeruby
10/03/2017, 6:20 PMgiedriusr
10/03/2017, 6:20 PMPkmmte
10/03/2017, 6:21 PMeruby
10/03/2017, 6:21 PMroms
10/03/2017, 6:22 PMtimbuckley
10/03/2017, 6:27 PMtype Foo extends Node {
fooName: String!
fooEmail: String!
barId: ID!
barName: String!
barEmail: String!
}
...And then reshape the schema according to this (better more idiomatic version)?
type Foo extends Node {
id: ID!
name: String!
email: String!
bar: Bar!
}
type Bar extends Node {
id: ID!
name: String!
email: String!
}
timbuckley
10/03/2017, 6:30 PMtimbuckley
10/03/2017, 6:33 PMnilan
10/03/2017, 6:36 PMulrikstrid
10/03/2017, 6:37 PMalbinekb
10/03/2017, 6:38 PMulrikstrid
10/03/2017, 6:40 PMSlackbot
10/03/2017, 6:56 PMcoolboyjules
10/03/2017, 7:28 PMtekk
10/03/2017, 7:29 PMquery ($user_id: ID!, $node_id: ID!) {
SomeUserExists(filter:{
id: $node_id
id: $user_id
})
}
That's obviously not a legal query, but I'm just try to say that the $node_id
must be equal to the $user_id
--am I on the right track?max
10/03/2017, 7:44 PMeruby
10/03/2017, 8:00 PMalbinekb
10/03/2017, 8:53 PMalbinekb
10/03/2017, 8:53 PMalbinekb
10/03/2017, 8:53 PMSD
10/03/2017, 8:59 PMJosef Henryson
10/03/2017, 9:18 PMtfiwm
10/03/2017, 9:54 PMtfiwm
10/03/2017, 9:54 PMlastmjs
10/03/2017, 10:00 PMlastmjs
10/03/2017, 10:00 PMlastmjs
10/03/2017, 10:01 PM