Refresh cache on mutation by fetching new data in mutation
resolves #195
This commit is contained in:
@@ -49,6 +49,13 @@ const UPDATE_PART_MUTATION = gql`
|
|||||||
updatePart: updatePart(id: $id, input: $input) {
|
updatePart: updatePart(id: $id, input: $input) {
|
||||||
id
|
id
|
||||||
title
|
title
|
||||||
|
description
|
||||||
|
code
|
||||||
|
mainImage
|
||||||
|
userId
|
||||||
|
Reaction {
|
||||||
|
emote
|
||||||
|
}
|
||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
userName
|
userName
|
||||||
|
|||||||
Reference in New Issue
Block a user