Futuristic Ferret
08/07/2018, 5:56 PMgraphql-request
not parse the query?chandlervdw
08/07/2018, 6:12 PMdatamodel.graphql
?Moritz
08/07/2018, 10:46 PMreact-admin
project? There is one for the old graphcool formats, but I couldnt find one for prisma. https://github.com/marmelab/react-admin/tree/master/packages/ra-data-graphcool https://marmelab.com/react-admin/DataProviders.htmlTimur M
08/08/2018, 4:11 AMTimur M
08/08/2018, 4:13 AMconst addUserToGroup = (root, { groupId, userId }, ctx, info) =>
ctx.db.mutation.updateGroup(
{
where: { id: groupId },
data: {
users: { connect: { id: userId } }
}
},
info
);
Timur M
08/08/2018, 4:15 AMzak.singh
08/08/2018, 8:40 AMplayra
08/08/2018, 9:07 AMsimons
08/08/2018, 9:23 AMChughtai
08/08/2018, 10:17 AMhalborg
08/08/2018, 1:02 PM> Successfully built 086ddb645f20
> Successfully tagged registry.now.systems/now/8c565a120ef9e162cfb024f678f1e2411044ae28:latest
> ā² Storing image
> Build completed
> Verifying instantiation in bru1
> [0] at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:548)
> [0] Exception in thread "main" java.sql.SQLTransientConnectionException: database - Connection is not available, request timed out after 5000ms.
> [0] at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:83)
> [0] at slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:14)
> [0] at slick.jdbc.JdbcBackend$BaseSession.<init>(JdbcBackend.scala:453)
> [0] at slick.jdbc.JdbcBackend$DatabaseDef.createSession(JdbcBackend.scala:46)
> [0] at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:145)
> [0] Exception in thread "main" java.sql.SQLTransientConnectionException: database - Connection is not available, request timed out after 5001ms.
I triple-checked the credentials and host, and Iām able to connect to the DB just fine using MySQL Workbench with the same credentials, which to me indicates that the credentials and host URL/port is fine, and that the DB accepts outside connections just fine as well.
Any ideas / help would be much appreciated. šMoritz
08/08/2018, 2:04 PMError: GraphQL error: Whoops. Looks like an internal server error. Search your server logs for request ID: eu1:api:cjkl7eujw8jkk0d76xtm3firf
, is there a way to read the prisma public cloud logs?Jerry JƤppinen
08/08/2018, 2:22 PMprisma init
a new service? Is there a way to carry over the data that I have in an existing service? Or is there some completely different workflow I should actually be looking atmwickett
08/08/2018, 2:53 PMmwickett
08/08/2018, 2:53 PMJoey
08/08/2018, 3:02 PMDrew Delianides
08/08/2018, 3:22 PMroderik
08/08/2018, 4:52 PMroderik
08/08/2018, 4:55 PMroderik
08/08/2018, 4:58 PMKristof
08/08/2018, 5:58 PMKristof
08/08/2018, 5:58 PMKristof
08/08/2018, 6:22 PMKristof
08/08/2018, 6:22 PMDrew Delianides
08/08/2018, 10:54 PMupdateMany...
i get a count returned but the prisma dashboard doesn't show any new nodes created/updated. If I toggle between different tables I can see flashes of the data in the table before it disappears and shows me the `No ... nodes yet" screen. Querying for the data doesn't return anything either.Drew Delianides
08/08/2018, 10:54 PMmutation {
updateManyWidgets(
data: {
history: { create: [{ when: "2018-08-08", status: PENDING }] }
}
) {
count
}
}
val
08/09/2018, 7:49 AMnilan
08/09/2018, 8:19 AMJoey
08/09/2018, 10:24 AMhalborg
08/09/2018, 11:20 AM