I want to send images as Base64 encoded strings. However, the size of each generated string turns out to be very large. My question is therefore, does GraphQL restrict the scalar String to a certain length, i.e. is it possible for me to send my images as strings using GraphQL?
1 Answer
As per last available specs, GraphQL does not restrict the scalar String to a certain length, i.e. it's possible for you to send it as a String.
-
4I have tried it with a 30MB image file converted to base64 string. It's working fine. Thank you. Commented Dec 1, 2019 at 7:44