phil
09/04/2017, 8:21 AMRS256
JWT from Auth0 yet?freder
09/04/2017, 1:33 PMbenoit
09/04/2017, 1:41 PMMeal
, and then I can add one or more Dish
to it. It’s a n to n relationship basically.benoit
09/04/2017, 1:42 PMaddToMealDishes
benoit
09/04/2017, 1:43 PMMeal
with its associates dishes
, I can’t seem to be able to get the dishes
in the order they were addedbenoit
09/04/2017, 1:43 PMorderBy
on the dishes
but that seems to relate to the Dish
entities (id, created, updated)proteus
09/04/2017, 2:33 PMrvespula
09/04/2017, 3:24 PMrvespula
09/04/2017, 3:25 PMrvespula
09/04/2017, 3:26 PMthegrimsilence
09/04/2017, 4:42 PMproteus
09/04/2017, 5:34 PMmax
09/04/2017, 5:45 PMpanzupa
09/04/2017, 7:29 PMkyriakosmichael
09/04/2017, 8:51 PMgauravkaushik
09/05/2017, 1:24 AMtype User {
friends: [User!]! @relation(name: "UserFriends")
graphcool console gives an error A relation directive with a name must appear exactly 2 times.
And the other query is related to this schema:
type Photo {
file: File @relation(name: "PhotoToFile")
}
type Song {
file: File @relation(name: "SongToFile")
}
type File {
contentType: String! @relation(name: "SongToFile")/@relation(name: "PhotoToFile")
}
Now that File is a generated type, and if I were to link these relations to File's contentType
field, is it possible to specify multiple relations on the same field?davidepalazzo
09/05/2017, 1:30 AMfriends
as well - check this post out https://stackoverflow.com/questions/44809470/graphcool-domain-model-design-modifiedby-attribute-giving-troubleagartha
09/05/2017, 1:39 AMlastmjs
09/05/2017, 1:43 AMlastmjs
09/05/2017, 1:44 AMlastmjs
09/05/2017, 1:45 AMbrandf
09/05/2017, 3:58 AMbrandf
09/05/2017, 3:58 AManton-b
09/05/2017, 7:26 AMService
with more than 10,000 nodes, where 5-10 nodes are related to a user. Would the query for a single User's Services take a lot longer to fetch than if there was, say a 1,000 nodes?
If it does take a lot longer, what could one do to bring down that query time?Pieter
09/05/2017, 8:09 AMPieter
09/05/2017, 8:10 AMgraphcool-lib
the right npm package to use?Pieter
09/05/2017, 8:11 AMlastmjs
09/05/2017, 8:13 AMlastmjs
09/05/2017, 9:04 AMpicosam
09/05/2017, 9:32 AMgenerateAuthToken
from outside of a Graphcool function? I would like to use Auth0's Credentials Exchange (https://auth0.com/docs/hooks/extensibility-points/credentials-exchange) to actually embed the Graphcool token into the access token returned.