berrybeat / Neo4j.Berries.OGM

This repository adds an OGM functionality for csharp
https://berrybeat.com/
MIT License
16 stars 2 forks source link

The csharp object key cases should be convertable #42

Closed farhadnowzari closed 1 month ago

farhadnowzari commented 1 month ago

Is your feature request related to a problem? Please describe. At the moment the library maps a csharp object 1to1 to a node. This means the node properties will be PascalCase. This normally ok, but in an existing neo4j database or if the anonymous feature is used, it can bring inconsistency.

Describe the solution you'd like To solve it, we can add a configuration which gets a key converter and will be applied on the object, while it is being converted to a Dictionary<string, object>