0

I am a newbie in graphql and I am trying to create a sever which will take few parameters and a few files (like images) as parameters in mutation.

I am using graphql-yoga and it is very clear how to implement it using graphql-yoga.

My question is how to test it? How can I test the file upload from graphql playground?

I am going to use react-relay so are there any examples to do it in react-relay.

Thanks.

Tim
  • 370
  • 5
  • 9
dash
  • 89
  • 1
  • 8

1 Answers1

2

Neither GraphiQL nor GraphQL Playground support file uploads. You can use a standalone client like Altair.

Daniel Rearden
  • 80,636
  • 11
  • 185
  • 183