Implement post editing capabilities. A post may only be edited by its owner (and a moderator, in case moderation is to be implemented). New values for title and contents can be provided. At least one change must be provided, otherwise the mutation must throw an error.
Implement post editing capabilities. A post may only be edited by its owner (and a moderator, in case moderation is to be implemented). New values for
title
andcontents
can be provided. At least one change must be provided, otherwise the mutation must throw an error.