mattbryanswan
12/11/2017, 8:05 PMjohhansantana
12/11/2017, 8:45 PMuser
12/11/2017, 8:51 PMhttps://prisma.slack.com/files/U66MTT41M/F8CBVQKEV/image.png▾
ehodges
12/11/2017, 10:03 PM59 | const CREATE_LINK_MUTATION = gql`| ^ 60 | mutation CreateLinkMutation($description: String!, $url: String!, $postedById: ID!) { 61 | createLink( 62 | description: $description, file is here: https://github.com/erichodges/react-gql-tutorial/blob/master/hackernews-react-apollo/src/components/CreateLink.js
Fitch
12/12/2017, 1:21 AMmj
12/12/2017, 5:50 AMtype User @model {
id: ID! @isUnique
name: String @myCustomDecorator(name: "VALUE")
dateOfBirth: DateTime
age: Int @myCustomDecorator(name: "VALUE")
}
mj
12/12/2017, 5:51 AMmj
12/12/2017, 5:51 AMmj
12/12/2017, 6:14 AMSteven Sacks
12/12/2017, 6:33 AMSteven Sacks
12/12/2017, 6:33 AMGlobal
✖ Function with name 'users-update' has invalid payloadName: 'User'
Steven Sacks
12/12/2017, 6:33 AMtype User {
id: ID!
}
extend type Mutation {
updateUser(
id: ID!
organizationId: ID!
firstName: String!
lastName: String!
roles: [String!]!
): User
}
Steven Sacks
12/12/2017, 6:34 AMusers-update:
type: resolver
schema: ./src/users/update/type.graphql
handler:
code:
src: ./src/users/update/index.js
Steven Sacks
12/12/2017, 6:34 AMLotafak
12/12/2017, 7:49 AMGlobal
✖ Function with name 'authenticate' has invalid payloadName: 'AuthenticateUserPayload'
for authentication method from email-password template that was working before!Steven Sacks
12/12/2017, 7:50 AMSteven Sacks
12/12/2017, 7:51 AMSteven Sacks
12/12/2017, 7:57 AMsjm
12/12/2017, 9:19 AMgraphcool service
locally via Docker, is it also possible to deploy this Docker image to an RaspberryPi ? Has anyone ever tried that by any chance?alexc
12/12/2017, 12:50 PMjovantoskic
12/12/2017, 1:01 PMehodges
12/12/2017, 2:58 PMOleg Galaburda
12/12/2017, 3:17 PMButch
12/12/2017, 3:21 PMhuv1k
12/12/2017, 3:48 PMquery {
allCategories(filter:{
translations_every:{
language:{
name: "EN"
}
}
}) {
name
translations {
text
language {
name
}
}
}
}
It should query all categories where translations language name is "EN" right?Butch
12/12/2017, 5:06 PMButch
12/12/2017, 5:07 PMquery permitViewOrg($user_id: ID!, $node_id: ID!) {
SomeOrganizationExists(filter: {
id: $node_id
users_some: {
id: $user_id
role_in: [ADMIN, SUPER_ADMIN]
}
})
}
This covers it for reading the org they belong to, but limits usage for super adminstekk
12/12/2017, 6:24 PM{
"error": "Syntax error while parsing GraphQL query. Invalid input \"query {\\n allGames()\", expected OperationDefinition, FragmentDefinition or TypeSystemDefinition (line 1, column 1):\nquery {\n^"
}
tekk
12/12/2017, 6:24 PMdaniel
12/12/2017, 6:53 PM