Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/justinlevi/graphql_file_upload

Drupal 8 GraphQL file upload module
https://github.com/justinlevi/graphql_file_upload

drupal8 graphql symfony

Last synced: 9 days ago
JSON representation

Drupal 8 GraphQL file upload module

Awesome Lists containing this project

README

        

# graphql_custom_file_upload

A Custom GraphQL File Upload Module

WIP - CURRENTLY BROKEN :(

gql
```
mutation($file: FileInput!) {
uploadFile(input: $file){
entity{
...on FileFile {
url
}
}
}
}
```

The variable should look like this:

```$xslt
{
"file": {"file": __BINARY-FILE-DATA__}
}
```