Will Chertoff
02/23/2018, 6:19 PMnoahdavis
02/23/2018, 8:03 PMWill Chertoff
02/23/2018, 8:03 PMUsers
but get a relational field called Settings
.Will Chertoff
02/23/2018, 8:03 PMWill Chertoff
02/23/2018, 8:04 PMquery me {
me {
id
name
settings {
name
count
}
}
}
noahdavis
02/23/2018, 8:04 PMnoahdavis
02/23/2018, 8:04 PMWill Chertoff
02/23/2018, 8:05 PMme
resolver function. Currently, I have const user: User = await getUser(api, userId).then(r => r.User)
Will Chertoff
02/23/2018, 8:06 PMSettings
is not attached to User
for some reasonWill Chertoff
02/23/2018, 8:06 PMWill Chertoff
02/23/2018, 8:06 PM