tfiwm
11/16/2017, 2:49 PMtfiwm
11/16/2017, 2:49 PMtfiwm
11/16/2017, 2:49 PMJohn Livingston
11/16/2017, 3:22 PMJohn Livingston
11/16/2017, 3:28 PMJahagirdar
11/16/2017, 4:07 PMJahagirdar
11/16/2017, 4:07 PMVinnie
11/16/2017, 4:35 PMVinnie
11/16/2017, 4:37 PMgc local up
docker Couldn't connect to Docker daemon - you might need to run `docker-machine start default`.
No idea where to turn. Running the command suggested yields this:
Docker machine "default" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
kaihuang724
11/16/2017, 4:56 PMemattias
11/16/2017, 5:27 PMBoolean!
variables? Canβt you check if a String!
is empty or not or do I have to to it like this? ->
query ($offerId: String!, $offerIdExists: Boolean!) {
offer(offerId: $offerId) @include(if: $offerIdExists) {
id
}
}
mael
11/16/2017, 5:42 PMButch
11/16/2017, 6:50 PMcurl <https://codeload.github.com/graphcool/graphcool/tar.gz/master> | tar -xz --strip=2 graphcool-master/examples/node-gateway-custom-schema
Tuan Vu
11/16/2017, 6:53 PMDawid S.
11/16/2017, 7:02 PMFitch
11/16/2017, 7:27 PMPkmmte
11/16/2017, 8:35 PMExport Data
on my Graphcool project settings doesn't actually do anything. After a while, all I see is a Failed to fetch
error message. How do I set up periodic backups?kylet1994
11/16/2017, 8:44 PMdonedgardo
11/16/2017, 10:13 PMbobbyt
11/16/2017, 10:53 PMPost
type with a Tag
field with a many-to-many relationship. When I run a mutation to update a `Post`'s tags, there are 2 Graphcool-generated parameters I can include:
β’ tags: array new tags to create and associate with this Post
(i.e., [{"name: "newTag1", "name": "newTag2"}]
)
β’ tagsIds: an array of `id`s of existing `Tag`s to be associated with the Post
(i.e., ["aabbccddeeffgg", "hhiijjkkllmmnn"]
)
If I only include tags
or tagsIds
in the mutation, it works as expected. However, if I pass both parameters, only the new `Tag`s will be created an associated - the other existing Tag
ids I pass are not associated.
This combined method is mentioned here, but does not seem to be functioning as expected: https://www.graph.cool/forum/t/how-do-i-add-an-array-of-objects-to-a-mutation-in-apollo-react/365/6
Combined
You can also use tags and tagsIds in the same mutation, this would connect the new Tutorial node to all the tags in tagsIds and connect it to the new tags in tags. This is what you want to do if you want to only allow tags with a unique text, so for a new Tutorial, there will likely be some tags that already exists, and some that need to be created.Thanks in advance for any guidance.
danstepanov
11/16/2017, 11:03 PMdanaszova
11/16/2017, 11:40 PMFitch
11/17/2017, 12:05 AMFitch
11/17/2017, 12:05 AMflorian
11/17/2017, 1:06 AMflorian
11/17/2017, 1:08 AMFitch
11/17/2017, 1:08 AMFitch
11/17/2017, 1:09 AMFitch
11/17/2017, 1:09 AMFitch
11/17/2017, 1:10 AM