Gorodov Maksim
07/04/2018, 8:43 AMtype Person {
id: ID! @unique
name: String!
position: String!
karma: Int!
description: String
actions: [Action!]!
author: User!
}
type Action {
id: ID! @unique
title: String!
date: String!
description: String
karma: String!
executors: String!
members: [ActionMember!]!
author: User!
}
type ActionMember {
id: ID! @unique
person: Person
user: User
isUser: Boolean!
side: String!
}
And I need to connect Action
to Person
via ActionMember
. Is it possible? If yes, could u tell me how?
This schema on gist (better highlight, slack sucks in it) - https://gist.github.com/SilencerWeb/c6028759e62ef83bfefe3d8261796a89