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) {
|
||||
id
|
||||
title
|
||||
description
|
||||
code
|
||||
mainImage
|
||||
userId
|
||||
Reaction {
|
||||
emote
|
||||
}
|
||||
user {
|
||||
id
|
||||
userName
|
||||
|
||||
Reference in New Issue
Block a user