Gremlinq / ExRam.Gremlinq

A .NET object-graph-mapper for Apache TinkerPop™ Gremlin enabled databases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newtonsoft PropertyName Attribute Support

davemanton opened this issue · comments

Does Gremlinq support use of Newtonsoft PropertyName attributes?

I'm using CosmosDb with the AspNet nuget packages on the latest version 11

I can't find anything in the samples or documentation and when I attempt to create a simple Vertex it appears to ignore the property names I've defined in the Newtonsoft attributes. This means when I the object is viewed in the Cosmos Graph viewer a property name would be "Value" instead of the defined "value"

Attempting to do the same. But unsuccessful so far.

Created a sample Git Repo with latest version 12.0.0-preview.1077 found below:

What I need is to use my own serialization / deserialization logic instead of relying on NewtonSoft:

There is no support for Newtonsoft attributes. This might help though.