Hello, i wanted to know, how can i set an array as a result on this query, i cant find any way to set an array as a result to this query
Hello!
Here’s an example of a simple resolver:
type ExampleResult {
result: [String]!
}
extend type Mutation {
hello(name: String): ExampleResult
}
You can read more about how to create a resolver here:
Here is an example of string array response type:
Lada Kokotova | Technical Support Engineer