question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scalar Upload generated type from graphql-binding as a string

See original GitHub issue

2018-08-15-143201_1310x96_escrotum

is it suppose to be like this below?

export type Upload = {
      stream: NodeJS.ReadableStream
      filename: string
      mimtype: string
      encoding: string
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
thanatchakromsangcommented, Aug 17, 2018

I Fix this issue by modifying TypescriptGenerator in Graphql-binding libs to include custom scalar Mapping Thanks to your input!

1reaction
thanatchakromsangcommented, Aug 17, 2018

@mike-marcacci Thanks for clearing that up for me 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

File uploads - Apollo GraphQL Docs
Enabling file uploads in Apollo Server. ... it with the uploads option to new ApolloServer() or if your schema uses the Upload scalar...
Read more >
GraphQL: Language Feature Support
Extension for Visual Studio Code - GraphQL LSP extension that adds autocompletion, validation, go to definition, hover, outline and more.
Read more >
Add Upload type to GraphQL - node.js - Stack Overflow
This was working until I changed the image argument type from String to Upload . Where, according to Apollo documentation is enabled by...
Read more >
Files - Hot Chocolate - ChilliCream GraphQL Platform
Usage. In order to use file upload streams in our input types or as an argument register the Upload scalar like the following:...
Read more >
File uploads - graphql-compose
Tutorial · 1. Preparing express-graphql server. This is most important part of enabling file uploads on server-side. · 2. Adding GraphQLUpload scalar type...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found