Id never set when reading from database with ExecuteGremlin command
cnurse opened this issue · 0 comments
cnurse commented
Hi - I am trying to use the ExecuteGremlin command to fetch vertices from my Graph database. I thought everything was working splendidly but the Id is never returned. I looked at the code in CosmosEntitySerializer and it explicitly only deserailized the properties, but the Id is not part of the properties collection.
{
"id": "6f536063-d42d-4b4b-9ba1-b3eb80f11a81",
"label": "Individual",
"type": "vertex",
"properties": {
.........
}
}
My Model has the [Id] attribute on the appropriate Id object property, and the data in CosmosDB was originally added using the InsertVertex command of the client.