Mulit-line string in playground?

Is it possible to pass a multi-line string as argument to a graphql mutation?

According to StackOverflow, people are recommending to wrap the multi-line string in """ """. I tried doing this, but it doesn’t seem to help.

Same problem here :confused:

@kaueburiti I got the solution to the problem and I’m sorry I did not update it here. I opened a GitHub discussion in the apollo-server repo and one of the maintainers replied with this: GraphQL Playground is a project whose maintainers have officially retired it. So Playground is not actively maintained and that’s why multi-line strings are not working.

The solution here is to use Apollo Sandbox. Multi-line strings work perfectly there.

1 Like