Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newtonsoft PropertyName Attribute Support #1183

Closed
davemanton opened this issue Sep 14, 2023 · 2 comments
Closed

Newtonsoft PropertyName Attribute Support #1183

davemanton opened this issue Sep 14, 2023 · 2 comments

Comments

@davemanton
Copy link

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"

@rrmistry
Copy link

rrmistry commented Nov 9, 2023

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:

@danielcweber
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants