Skip to content

Refactor CreateComments functionality

Hannes Heine requested to merge pr901head into pr901base

Created by: Tirokk

mattwr18 Authored by mattwr18 Merged


  • update apollo cache on successful mutation
  • remove global event listener
  • avoid refetch Post to update CommentsList
  • return comment with its author from resolver

🍰 Pullrequest

Issues

Todo

  • Should I refactor the backend tests now that we return the comment with its author?

Merge request reports