I have a GraphQL API, but I have doubts about whether to file upload in a graphql mutation or do it in a REST endpoint, I know that it can be done in both ways.
I have read that for file uploading the ideal is to have a REST endpoint instead of a mutation. Is there any reason and a good practice for this?
New contributor
PedroHernandez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.