Has / Search for custom properties attached to Vertex #611
Replies: 3 comments 1 reply
-
You're right, there is no convenient way. I always found that raw string keys would somehow defeat the purpose of an object-graph-mapper. I might reconsider. In any case, it's not a priority for us. You could, however, work around this by adding a custom step/extension method. |
Beta Was this translation helpful? Give feedback.
-
Look at As for Gremlin.NET, the client is not eposed anywhere. You'd have to configure it yourself. |
Beta Was this translation helpful? Give feedback.
-
Serialization of steps: https://github.com/ExRam/ExRam.Gremlinq/blob/6b8e980bae1c592e6a28069551323439350a7d34/src/ExRam.Gremlinq.Core/Serialization/GremlinQueryFragmentSerializer.cs#L114 You'd configure the serializer (and override the parts you need) in |
Beta Was this translation helpful? Give feedback.
-
We are looking for way how to combine strong typed classes with few custom properties.
There is no issue to add them. We are able to read them (not too much pleasant but we can live with it).
But we are unable to find way how to "Where" them. Found in some discussion notice about Properties("prop_name") but Properties with string tag is not allowed by compiler (version 9.2.0).
Is there way how to send Has command through library which will be based on property not included in class ?
We are going to have most of of properties in classes but we need to allow user to add optional custom data which are unknown and we need to be able search for them. If there is any other idea which we are missing, I would be happy to hear it.
Beta Was this translation helpful? Give feedback.
All reactions