menu

Prisma

🔴 The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team

How create a mutation to receive uploaded file as param?

April 14, 2019 at 6:27pm

How create a mutation to receive uploaded file as param?

April 14, 2019 at 6:27pm (Edited 1 year ago)
I want to pass a word or excel file and manipulate the file stream in my server. I'm using Typescript with Nexus, any advice? Maybe I've to create an input object like:
export const InputType = inputObjectType({
name: "InputType",
definition(t) {
t.string("key", { required: true });
t.int("answer");
},
});

August 14, 2019 at 8:13pm
Did you end up solving this? Same issue.
  • reply
  • like