score:1

Accepted answer

if [array] is array of object you need to do that.

`
type productattributes { 
        id: int!
        name: string!
        position: string!
        visible: boolean!
        variation: boolean!
        options: [string!] 
}
`

if [array] is an array of the array then in every last inner array should object or string take as above. and you can process these steps till the last array. now in your case array of string so you can use direct string type.


Related Query

More Query from same tag