-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
There is a newly released major version of ecodev/graphql-upload
- v8.0.0
https://github.com/Ecodev/graphql-upload/releases/tag/8.0.0
Release notes mention that UploadMiddleware
is no longer presented in the library with no replacement and hint to implement PSR-15 middleware by ourselves in case of we need it (or to find an alternative library that provides a bridge between PSR-7 and ecodev/graphql-upload
).
UploadMiddleware
is currently used in GraphQLiteController
.
graphqlite-bundle/src/Controller/GraphQLiteController.php
Lines 101 to 106 in 1c0d78e
// Let's parse the request and adapt it for file uploads. | |
if (class_exists(UploadMiddleware::class)) { | |
$uploadMiddleware = new UploadMiddleware(); | |
$psr7Request = $uploadMiddleware->processRequest($psr7Request); | |
\assert($psr7Request instanceof ServerRequestInterface); | |
} |
Metadata
Metadata
Assignees
Labels
No labels