Answer the question
In order to leave comments, you need to log in
How to return a normal array with numbers in GraphQl?
Hey!
I can’t figure out what type to specify in the schema to return a regular array with
Data numbers
"goods": [
{
...
"sizes": {
"allSizes": [39, 40, 41, 42, 43],
...
}
}
]
type Good {
id: ID
...
sizes: Sizes
}
type Sizes {
allSizes: Массив здесь
}
`);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question