Closed vigenere23 closed 5 months ago
WIth spring-graphql, you now need to add an external dependency for file uploads: https://netflix.github.io/dgs/spring-graphql-integration/#file-uploads
Wow thanks for the quick response! Should that section also be part of the "File Uploads" specific documentation page? Or at least a link that refers the page you mentioned?
Yes, that's a good idea. I will fix that.
On Fri, Apr 19, 2024 at 1:41 PM Gab S. @.***> wrote:
Wow thanks for the quick response! Should that section also be part of the "File Uploads" specific documentation page? Or at least a link that refers the page you mentioned?
— Reply to this email directly, view it on GitHub https://github.com/Netflix/dgs-framework/issues/1889#issuecomment-2067256649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ5JPXNPUYYG4RPKN34EPDTY6F6NXAVCNFSM6AAAAABGPZIU7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGI2TMNRUHE . You are receiving this because you commented.Message ID: @.***>
Expected behavior
Should work like before, as described by the documentation.
Actual behavior
Since switching from
graphql-dgs-spring-boot-starter
tographql-dgs-spring-graphql-starter
, we now have a runtime error at the start of our application, statingThere is no scalar implementation for the named 'Upload' scalar type
. We have followed the documentation and it was working before the switch.Steps to reproduce
Upload: "org.springframework.web.multipart.MultipartFile"
to thetypeMapping
plugin configurationMultipartFile
as input, which does compileWe are using Gradle with Kotlin and are on the latest version of both dgs codegen (6.1.6), dgs framework (8.5.6) and spring-boot (3.2.4). Here are all the dgs libraries that we are using :
We are also using the
spring-boot-starter-web
library.