tim2
02/22/2017, 8:18 AMalex_ye
02/22/2017, 8:23 AMalex_ye
02/22/2017, 8:31 AMtim2
02/22/2017, 9:31 AMalex_ye
02/22/2017, 9:52 AMalex_ye
02/22/2017, 9:55 AMmartin
02/22/2017, 4:27 PMgc-pat
mentioned here:
now secret add gc-pat XXX
https://www.graph.cool/docs/tutorials/stripe-payments-with-mutation-callbacks-using-micro-and-now-soiyaquah7#setup-nowmulyoved
02/22/2017, 5:23 PMconst DishQuery = gql`query allDishes {
allDishes(orderBy:updatedAt_DESC) {
id
iconid
translation: dishTranslations(filter:{language:EN}) {
name
}
}
}`;
delete query
const DeleteDish = gql`mutation deleteDish($id:ID!) {
deleteDish(id: $id) {
id,
}
}`;
expected this to be automatic from Apollo without a need to refetch()
what I am missing?nikolasburk
dataIdFromObject
-function when instantiating the ApolloClient
?
export const client = new ApolloClient({
networkInterface,
dataIdFromObject: o => o.id,
})
mulyoved
02/22/2017, 5:26 PMconst client = new ApolloClient({
networkInterface,
dataIdFromObject: o => o.id
});
sunrising
02/22/2017, 6:12 PMaurnik
02/23/2017, 3:16 AMzahid
02/23/2017, 6:34 AMgopidon
02/23/2017, 7:29 AMnilan
02/23/2017, 7:03 PMkristiansorens
02/23/2017, 8:12 PMnilan
02/23/2017, 8:12 PMkristiansorens
02/23/2017, 8:13 PMartyom
02/23/2017, 8:54 PMkimf
02/23/2017, 9:29 PMkimf
02/23/2017, 10:38 PMartyom
02/24/2017, 10:43 AMpearpages
02/24/2017, 10:45 AMartyom
02/24/2017, 10:53 AMafgh
02/24/2017, 10:57 AMschickling
02/24/2017, 11:13 AMschickling
02/24/2017, 11:13 AMalarv
02/24/2017, 11:26 AM