In the GraphQL generated schema the
Delete[Type]Payload contains a
msg field. This message field in the source will only ever be “Deleted” or “No nodes were deleted” and is conditionally based upon the
numUids from the mutation.
No other mutation payload returns any such similar msg such as “Added”/“Updated” or “No nodes were added”/“No nodes were updated”. I just don’t see the purpose in keeping this
msg field around. If needed I can generate my own msg based upon the
This would be helpful if this message returned back other messages such as, “You do not have access to add/update/delete” after evaluating the auth rules. If this is the case though, then this
msg field should be added to all of the mutation payloads.