Closed garrettg123 closed 1 year ago
Closing because this isn't an issue with graphql-upload
and I don't have availability right now to assist with usage questions or debugging users project code. If anyone would like to help out by answering this question feel free!
Over the next few weeks and months I'm going to be setting up tests for parts of a GraphQL schema at work that utilise file uploads so if I notice anything about that that could be smoothed over by additions to documentation (such as code examples) or utility functions that help with testing, I will revisit questions like this.
I have uploading working, however I can't get a test working. When using
apollo-server
, the error is:But when using
apollo-server-express
, thequery
must be a string, which isn't available to me after usinggraphql-codegen
, and I can't use theDocumentNode
which is generated.Here's the test code: