Closed
Description
Issue Description
TypeError: Cannot read property 'map' of undefined
when iterating over an undefined array
Steps to reproduce
- Create a custom class (named as "tests")
- Create an Array field (named as "arr")
- Leave this field value
undefined
(notnull
, not[]
) - Execute the following GraphQL query:
query {
objects {
tests {
arr {
...on Element {
value
}
}
}
}
}
Expected Results
GraphQL query should execute.
Actual Outcome
TypeError: Cannot read property 'map' of undefined
parseClassTypes:652
Environment Setup
- Server
- parse-server version: 3.7.2
- Localhost or remote server? localhost
Metadata
Metadata
Assignees
Labels
No labels