How to use the graphql-upload.GraphQLUpload.parseLiteral function in graphql-upload

To help you get started, we’ve selected a few graphql-upload examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github chnirt / nestjs-graphql-best-practice / src / config / graphql / scalars / upload.scalar.ts View on Github external
parseLiteral(ast) {
		return GraphQLUpload.parseLiteral(ast, ast.value)
	}
}

graphql-upload

Middleware and a scalar Upload to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.

MIT
Latest version published 3 months ago

Package Health Score

75 / 100
Full package analysis