You might say it's better to make the form not send the email field in the mutation if it's empty. But how would I handle it if it's an edit form and the user is removing their email (thus leaving an empty string in the field)? Not sending it would make the original email remain there.
k
KyleG
01/14/2019, 1:09 AM
Assuming you're using JavaScript here for your client just set the email variable (the variable that's part of the mutation) to