harmony
01/11/2018, 3:20 PMharmony
01/11/2018, 3:20 PMharmony
01/11/2018, 3:21 PMharmony
01/11/2018, 3:22 PMharmony
01/11/2018, 3:23 PMsenorcodecat
01/11/2018, 3:33 PMharmony
01/11/2018, 3:36 PMiamclaytonray
01/11/2018, 3:50 PMed
01/11/2018, 4:37 PMgenerateNodeToken
? rather than setting a expiration time, I am currently implementing a sign out flow, but the token is still valid :sjohannpinson
01/11/2018, 4:48 PMproducts: [Product!]
, which may have ID of a Product model.
But the Product model is outside of Graphcool, available from another server/api.
The Product model have classic fields (id, name, price, etc.).
I already test to link the 2 “api” with a custom function with Graphcool, but I would like to facilitate it to allow to have directly this type of query :
query user($userId: ID) {
User(id: $userId) {
email
...
products: [
{
"id": "abc",
"name": "my awesome product",
...
}
]
}
}
And so not create custom query/mutation, just the resolvers to link “ID” between the model/api
Thanks all for you help 😉johannpinson
01/11/2018, 4:50 PMproducts: [String!]
inside Graphcool, because the Product doesn’t exist inside the projectsenorcodecat
01/11/2018, 7:43 PMsenorcodecat
01/11/2018, 7:45 PMnoahdavis
01/11/2018, 7:47 PMnpm install -g graphcool@beta
noahdavis
01/11/2018, 7:47 PMsenorcodecat
01/11/2018, 7:48 PMsenorcodecat
01/11/2018, 7:51 PMsenorcodecat
01/11/2018, 7:51 PMnoahdavis
01/11/2018, 7:52 PMsenorcodecat
01/11/2018, 7:52 PMsenorcodecat
01/11/2018, 7:52 PMsenorcodecat
01/11/2018, 7:52 PMnoahdavis
01/11/2018, 7:52 PMnoahdavis
01/11/2018, 7:53 PMsenorcodecat
01/11/2018, 7:53 PMharmony
01/11/2018, 8:03 PMharmony
01/11/2018, 8:04 PMgraphql@beta
if you want to use 1.0senorcodecat
01/11/2018, 8:04 PMsenorcodecat
01/11/2018, 8:04 PMsenorcodecat
01/11/2018, 8:04 PM