What is the use of adding type information to e.g ElementMap<type> in Gremlin.Net?

Consider the query and output in the attached image: What TYPE could be placed inside the ElemementMap<TYPE> that has any real value?

The return type of ElementMap<TYPE> is a dictionary, and setting e.g ElementMap<IDictionary<string,string>>() would return make dotnet try to fit all vertex properties against a IDictionary<string,string> type - which only would work if all property values of the vertex are of type string.

To frame it differently: is there any scenario in which I do not want to write ElemementMap<object> or ElemementMap<dynamic>?
image.png
Was this page helpful?