user
07/18/2018, 6:41 PMagartha
07/18/2018, 7:45 PMagartha
07/18/2018, 7:46 PMartindaniel
07/18/2018, 8:00 PMquery {
question(id:"cjjq0h0le2ww60b29ro4tumhc") {
id
}
}
This doesn't work
fragment MyFragment on Question {
id
}
query {
question(id:"cjjq0h0le2ww60b29ro4tumhc") {
...MyFragment
}
}
Error
{
"data": {
"question": null
},
"errors": [
{
"message": "Field 'postDb' of type 'PostDb' must have a sub selection. (line 2, column 3):\n postDb(where: $_v0_where)\n ^",
"locations": [],
"path": [
"postDb"
]
}
]
}
dine
07/18/2018, 8:21 PMheroku[router]: at=error code=H15 desc="Idle connection" method=GET path="/" host=<http://sheltered-chamber-26085.herokuapp.com|sheltered-chamber-26085.herokuapp.com> request_id=724f3b54-1589-4524-aeac-57014c1d06da fwd="96.20.43.3" dyno=web.1 connect=0ms service=55039ms status=503 bytes= protocol=http
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
heroku[web.1]: Stopping process with SIGKILL
heroku[web.1]: Process exited with status 137
heroku[web.1]: State changed from starting to crashed
)
Has someone already tried to push a node-GraphQL yoga Server on Heroku, and make it communicate with a Heroku hosted Prisma server ? And how did you connected them with the front ?
Someone has some ideas about that issue ?
We're real beginners here, so don't hesitate to ask me more details if I'm not clear ^^;emilrmoeller
07/19/2018, 6:04 AMuser
07/19/2018, 7:17 AMtomhut
07/19/2018, 7:48 AMuser
07/19/2018, 8:14 AMagartha
07/19/2018, 8:45 AMAlessio
07/19/2018, 8:50 AMVictoria Foster
07/19/2018, 12:13 PMMarc
07/19/2018, 12:57 PMaroman
07/19/2018, 1:35 PMschema stitching
is something that is possible for prisma. Given that we have 2 schemas per repo.
Work flow = Front-end -> Graphql Gateway -> different microservicesMichaƫl
07/19/2018, 2:06 PMMarc
07/19/2018, 2:08 PMMarc
07/19/2018, 2:09 PMMarc
07/19/2018, 2:10 PMMichaƫl
07/19/2018, 2:17 PMMarios Antonoudiou
07/19/2018, 2:39 PMaroman
07/19/2018, 2:54 PMdb
with prisma
in between. I want to be able to make a query for example from the front end, pass it through the gateway and hit the microservice. The main purpose of this gateway is to gran permissions as the calls go down to the microservice.
My current dilemma involves me not being able to properly formate(or tell) my gateway what to send to the microserviceSyrus
07/19/2018, 5:06 PMAlejandro Poggi
07/19/2018, 5:20 PMGabril
07/19/2018, 6:43 PMHaider Malik
07/20/2018, 5:34 AMHaider Malik
07/20/2018, 5:36 AMprisma deploy
. Prisma stuck on apply changes. Can anyone help me?atatakobry
07/20/2018, 12:03 PMtype Exercise {
id: ID! @unique
}
type Test {
id: ID! @unique
exercises: [Exercise!]!
}
Problem
In existing Test
I wanna to remove some Exercises
by IDs
(for example, now there are 3 Exercises
with IDs
"a", "b", "c"
(for simplicity)).
Few days ago I just sent mutation with exercises: { connect: ["a", "b"] }
and it was working.
Now I need to use disconnect
, it's no so conveniently in my app's architecture.
ALSO, I can't even remove Exercises
from Test
using Prisma UI, only add šJim
07/20/2018, 1:28 PMuser
07/20/2018, 1:29 PMsiyfion
07/20/2018, 1:41 PMProduct
many:many Category
relationship, states that a product can be in many categories, and a category has many products⦠BUT I want to ensure a product is unique within each category.