cancel
Showing results for 
Search instead for 
Did you mean: 

Populate Map<String, Object> in SDN with custom properties

Hi, let's say I don't know what kind of properties will reside on my nodes.
I would like to use SDN to create node objects in Spring Boot. Is there a way to hint SDN
to poulate such a Map field with all the properties of a node?


I have seen @CompositeProperty, but I doesn't suite my use case. It's based on a compile time knowledge of prefix {@CompositePropery(prefix = "some_prefix"}. I would love to avoid prefixing all the properties on my nodes with some dummy prefix just to make the framework work.


Cypher already allows you to list all your properties as a list with keys function, so I think It would be nice to have such a mapping in SDN or OGM.

I'm opened to all the suggestions

0 REPLIES 0