Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New API to support the GraphQL multipart request spec v2 #22

Merged
merged 1 commit into from
Nov 19, 2017

Commits on Nov 19, 2017

  1. New API to support the GraphQL multipart request spec v2.0.0-alpha.2.

    * New API to support the [GraphQL multipart request spec v2.0.0-alpha.2](https://github.com/jaydenseric/graphql-multipart-request-spec/releases/tag/v2.0.0-alpha.2). Files no longer upload to the filesystem; [readable streams](https://nodejs.org/api/stream.html#stream_readable_streams) are used in resolvers instead. Fixes [#13](#13).
    * Export a new `Upload` scalar type to use in place of the old `Upload` input type. It represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.
    * Deprecated the `uploadDir` middleware option.
    * Added new `maxFieldSize`, `maxFileSize` and `maxFiles` middleware options.
    * `graphql` is now a peer dependency.
    * Middleware are now arrow functions.
    jaydenseric committed Nov 19, 2017
    Configuration menu
    Copy the full SHA
    9fc1c02 View commit details
    Browse the repository at this point in the history