Skip to content

Instantly share code, notes, and snippets.

Avatar

Nathan Fiedler nlfiedler

View GitHub Profile
@nlfiedler
nlfiedler / Upload.re
Created Nov 4, 2018
ReasonML GraphQL Apollo upload file example
View Upload.re
module UploadAsset = [%graphql
{|
mutation Upload($file: Upload!) {
upload(file: $file)
}
|}
];
module UploadAssetMutation = ReasonApollo.CreateMutation(UploadAsset);
You can’t perform that action at this time.