Sindre Svendby
09/26/2017, 5:14 PMtype Player implements Node {
fotballlPlayer: FotballPlayers
volleyballPlayer: VolleyballPlayers
....
}
type FotballPlayer implements Node {
player: Player!
....Fotball things
}
type VolleyballPlayer implements Node {
player: Player!
..... Volleyball things
}
or can I do something like
type FotballPlayer implements Player {
....Fotball things
}
type VolleyballPlayer implements Player {
..... Volleyball things
}
So VolleyballPlayer and FotballPlayer should have a one to one relations with the player, its basically just additional attributes on the object. But there will be so many overlapping fields name that i did not want to put it all in players and have volleyball_posistion and fotball_posisiton etc. there.iamclaytonray
09/26/2017, 5:20 PMmwickett
09/26/2017, 5:20 PMSindre Svendby
09/26/2017, 5:31 PMimplement
part is very similar to Java and oher OOP implement
. Sees like my first approche was the coorect oneSindre Svendby
09/26/2017, 5:35 PMiamclaytonray
09/26/2017, 5:50 PM