-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Have used the library to create odata service. Create an Entity 'UserType' with a Complex Type 'Address' which has a sub complex type 'Location'.
The data gets saved in the db.
But when i run the command to fetch, the Location always comesempty.
{
"_id": "640f052702b849252f020415",
"test": "joe",
"num": "55",
"addresses": {
"street": "101-Main",
"location": [
{}
]
}
}
The data in DB :
{
"_id": "640f052702b849252f020415",
"test": "joe",
"num": "55",
"addresses": {
"street": "101-Main",
"location": [
{
"country": "UK",
"continent": "Europe"
}
]
}
}
Query i used:
{my url}/UserType?$expand=AddressType/Location
Metadata
Metadata
Assignees
Labels
No labels