I am using Back4app backend for GraphQl and Apollo client for queries and mutations. Queries are fine, but i am unable to upload file to backend using perform mutation.
It says to perform mutation as FileInput , but I don’t know how to convert Uiimage to FileInput for writing to database. If I simply pass a string to FileInput, it is reaching database. But couldnot upload image.
Can someone give a suggestion