rcy
12/12/2017, 6:53 PMjsleeuw
12/12/2017, 6:54 PMdaniel
12/12/2017, 6:54 PMrcy
12/12/2017, 6:55 PMkaihuang724
12/12/2017, 6:55 PMrcy
12/12/2017, 6:55 PMdaniel
12/12/2017, 6:55 PMkaihuang724
12/12/2017, 6:56 PMunexpected token <
issueskaihuang724
12/12/2017, 6:56 PMmatic
12/12/2017, 7:01 PMkaihuang724
12/12/2017, 7:02 PMjsleeuw
12/12/2017, 7:02 PMkaihuang724
12/12/2017, 7:02 PMkaihuang724
12/12/2017, 7:02 PMmatic
12/12/2017, 7:04 PMtekk
12/12/2017, 7:05 PMdaniel
12/12/2017, 7:05 PMdaniel
12/12/2017, 7:05 PMkaihuang724
12/12/2017, 7:06 PMkaihuang724
12/12/2017, 7:06 PMconst LOGGED_IN_USER = gql`
query LoggedInUser {
loggedInUser {
id
}
}
`;
ehodges
12/12/2017, 7:07 PMdaniel
12/12/2017, 7:24 PMsorenbs
jsleeuw
12/12/2017, 7:26 PMjsleeuw
12/12/2017, 7:27 PMiamclaytonray
12/12/2017, 8:00 PMButch
12/12/2017, 8:57 PMtype User @model {
id: ID! @isUnique
email: String
firstName: String
lastName: String
posts: [Post!]! @relation(name: "PostOwner")
createdAt: DateTime!
updatedAt: DateTime!
}
type Post @model {
id: ID! @isUnique
title: String!
contents: String!
owner: [User!]! @relation(name: "PostOwner")
createdAt: DateTime!
updatedAt: DateTime!
}
Do I have to manually set the owner when creating a post?Joel
12/13/2017, 12:04 AMJoel
12/13/2017, 12:05 AMgraphcool deploy --force
and graphcool deploy --force NAME
to no avail. Not seeing it anywhere in the docs.Saeris
12/13/2017, 12:14 AM