nilan
05/07/2018, 7:49 PMnilan
05/07/2018, 7:51 PMhamdi
05/07/2018, 9:35 PMdrk
05/08/2018, 12:11 AMmedelman
05/08/2018, 1:46 AMTangoJuliett
05/08/2018, 4:24 AMFahad
05/08/2018, 5:14 AMJim
05/08/2018, 6:29 AMtype User {
id: ID! @unique
groups: [Group!]!
}
type Group {
id: ID! @unique
name: String!
users: [User!]!
}
I can return the user object but all I actually need is the count. You could do this with Graphcool BaaS
groups {
name
category {
name
}
users {
id
}
}
}
damon.chen
05/08/2018, 7:19 AMhoria.ancas
05/08/2018, 8:29 AMprisma init
templates removed from prisma cli?kdieubenit
05/08/2018, 9:20 AMkdieubenit
05/08/2018, 9:21 AMmichieldewilde
05/08/2018, 11:45 AMmutation updateToy {
updateToy(
where: { id: "toyId" },
data: {
wheels: {
delete: true
}
}
) {
id
name
}
}
Matt
05/08/2018, 12:04 PMRaviv
05/08/2018, 12:11 PMguille
05/08/2018, 12:13 PMnightmare
.goto('http://...')
.evaluate(()=> {
return (document.querySelectorAll('.has-error').length > 0);
})
.then((has_error)=> {
if (has_error) {
return nightmare
.insert('input.name', false)
.insert('input.name', 'Lorem ipsum');
} else {
return nightmare;
}
})
.click('button')
.etc
Is there anyway to do the same with chromeless?Tatsuyuki Ishi
05/08/2018, 1:01 PMdocs-cli
open source on GitHub? I'd like to contribute to make the docs easier to read on mobilecarstenbaumhoegger
05/08/2018, 1:37 PMdev
to prisma-eu1
. Now I want to delete my service by typing prisma delete dev
.
The following error appears:
{
“data”: {
“generateClusterToken”: null
},
“errors”: [
{
“message”: “Workspace dev does not exist”,
“locations”: [
{
“line”: 3,
“column”: 9
}
],
“path”: [
“generateClusterToken”
],
“code”: 222
}
],
“status”: 200
}
Am I using the wrong command?emurithi
05/08/2018, 2:01 PMAlessio
05/08/2018, 2:05 PMPost
and Tag
, let's say that in an update mutation on Post
I need to create a Tag
, how can validate the new tag?Jim
05/08/2018, 2:06 PMVendicto
05/08/2018, 3:55 PMquery {
allChats(filter:{
users_every: {
id_in: ["123", "234", "345"]
}
}
){
id
}
}
How to fix it ? 🙏Kimo
05/08/2018, 4:50 PMgraphiql
in the browser. It worked with graphql-playground
before but right now I keep getting Server cannot be reached
error. graphiql
works perfectly. Here's my main server file:
const express = require('express');
const { graphqlExpress, graphiqlExpress } = require('graphql-server-express');
const bodyParser = require('body-parser');
const schema = require('./schema');
const resolvers = require('./resolvers');
const { execute, subscribe } = require('graphql');
const { SubscriptionServer } = require('subscriptions-transport-ws');
const { createServer } = require('http');
const PORT = 3500;
const app = express();
// The GraphQL endpoint
app.use('/graphql', bodyParser.json(), graphqlExpress({ schema }));
// GraphiQL, a visual editor for queries
app.use('/graphiql', graphiqlExpress({
endpointURL: '/graphql',
subscriptionsEndpoint: `<ws://localhost:${PORT}/subscriptions>`
}));
var ws = createServer(app);
ws.listen(PORT, ()=> {
console.log("Server Running on Port:", PORT);
new SubscriptionServer({
execute,
subscribe,
schema
}, {
server: ws,
path: '/subscriptions',
});
});
Does graphql-playground work with any graphql server that's not prisma or graphcool?
I'm using the latest version of graphql-playground
.Fitch
05/08/2018, 5:39 PMnickhudkins
05/08/2018, 5:53 PMRedShift
05/08/2018, 7:22 PMRedShift
05/08/2018, 7:22 PMRedShift
05/08/2018, 7:22 PMmglcarmona
05/08/2018, 8:21 PMKyleG
05/08/2018, 9:17 PMprisma deploy
the mysql DB generates everything (all my tables and relations are there, cool), but generated/prisma.graphql
is unchanged from the one that the boilerplate gave me not long ago (where it's just users and feeds and posts). I can delete and reset my stuff as much as a want, and prisma deploy
seems to complete just fine - but the generated schema is totally unchanged.