dynamic properties #213
Comments
|
(Sorry for the repetition of my comment on #214) |
|
Hi, For each node we have explicit properties and auxiliary properties and we prefer to store these auxiliary properties as a separate collection. When we use SDN+OGM it's possible to configure entity like And when we save node to neo4j |
|
Hi. That's a feature a lot of people like, actually. We are not against it either. Currently there seems to be work to have some similar in Spring Data commons. We will discuss this with Pivotal / VMWare. Thank you! |
|
We have been thinking about having something more similar to |
|
This is quite good. {
"en": "Stuff",
"sv": "Objekt"
}but it didn't work and as a temp workaround I added data class LangThing (val en: String, val sv: String)However, you can see the limitation of supporting every language would mean manually writing each field. There's some more stuff which I'd like dynamic as I take it as JSON from other servers and don't care about them just show them to the user. Now I realised that you guys use Map<String,Object> for dynamic relationships If you use something as suggested
I suggest maybe |
|
Since we are in a migration process to the original Spring Data Neo4j and have to archive this repository, the issue also go migrated to: https://jira.spring.io/browse/DATAGRAPH-1347 |
it would be great to have dynamic-properties option such as OGM annotation @properties
ogm-manual
The text was updated successfully, but these errors were encountered: